Skip to content

Commit

Permalink
hair and face material applied after instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
shnok committed Oct 6, 2024
1 parent 271ba4b commit 5164278
Show file tree
Hide file tree
Showing 14 changed files with 320 additions and 387 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2872,7 +2872,7 @@ SkinnedMeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: ba3e3512d14a65e4480af9b74475ed6b, type: 2}
- {fileID: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3091,7 +3091,7 @@ SkinnedMeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c04c4d6ba60798a498c66c7f15e8d161, type: 2}
- {fileID: 2100000, guid: 7e490c609d8c6b74fbeda73eaf96aed7, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2972,7 +2972,7 @@ SkinnedMeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 160e62beafc3be64188d2aad98564075, type: 2}
- {fileID: 2100000, guid: 4ad15fa61e6762e4ea2723441f377484, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2350,7 +2350,7 @@ SkinnedMeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: eb40cc857d08ef443992bf3086bf32ef, type: 2}
- {fileID: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
- _ENVIRONMENTREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords:
- BACKFACE_NORMAL_MODE_MIRROR
- _WINDQUALITY_BEST
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: Opaque
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
Expand Down Expand Up @@ -57,7 +59,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 4176f64de917f8449b8883f6c5af42f8, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -100,7 +102,7 @@ Material:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaClipThreshold: 0.5
- _AlphaToMask: 0
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
- _ENVIRONMENTREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords:
- BACKFACE_NORMAL_MODE_MIRROR
- _WINDQUALITY_BEST
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: Opaque
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
Expand Down Expand Up @@ -70,7 +72,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 5388f396d0bf92845a9ec2a79ce79d23, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -113,7 +115,7 @@ Material:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaClipThreshold: 0.5
- _AlphaToMask: 0
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
- _ENVIRONMENTREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords:
- BACKFACE_NORMAL_MODE_MIRROR
- _WINDQUALITY_BEST
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: Opaque
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
Expand Down Expand Up @@ -70,7 +72,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 71f284e60438d9e47aa2290932e69dfa, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -113,7 +115,7 @@ Material:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaClipThreshold: 0.5
- _AlphaToMask: 0
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
- _ENVIRONMENTREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords:
- BACKFACE_NORMAL_MODE_MIRROR
- _WINDQUALITY_BEST
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: Opaque
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
Expand Down Expand Up @@ -57,7 +59,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 328b867a93e57364d8a1f936fd7adc46, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -100,7 +102,7 @@ Material:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaClipThreshold: 0.5
- _AlphaToMask: 0
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
- _ENVIRONMENTREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords:
- BACKFACE_NORMAL_MODE_MIRROR
- _WINDQUALITY_BEST
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: Opaque
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
Expand Down Expand Up @@ -57,7 +59,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 6d176dac97a841145b4459c155e81805, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -100,7 +102,7 @@ Material:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaClipThreshold: 0.5
- _AlphaToMask: 0
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
- _ENVIRONMENTREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords:
- BACKFACE_NORMAL_MODE_MIRROR
- _WINDQUALITY_BEST
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: Opaque
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
Expand Down Expand Up @@ -57,7 +59,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 6adb97e00306d884eba736cba4010d33, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -100,7 +102,7 @@ Material:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaClipThreshold: 0.5
- _AlphaToMask: 0
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
Expand Down
Loading

0 comments on commit 5164278

Please sign in to comment.