Skip to content

Commit feae2a9

Browse files
HDRenderPipeline: Update scene test material
1 parent a707b6d commit feae2a9

7 files changed

Lines changed: 36 additions & 11 deletions

File tree

Assets/TestScenes/HDTest/GraphicTest/Two Sided/Material/GroundLeaf_DoubleSided.mat

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ Material:
99
m_Name: GroundLeaf_DoubleSided
1010
m_Shader: {fileID: 4800000, guid: c4edd00ff2db5b24391a4fcb1762e459, type: 3}
1111
m_ShaderKeywords: _ALPHATEST_ON _DEPTHOFFSETENABLE_OFF _DETAIL_MAP_WITH_NORMAL _DISTORTIONDEPTHTEST_OFF
12-
_DISTORTIONENABLE_OFF _DISTORTIONONLY_OFF _DOUBLESIDED_LIGHTING_MIRROR _EMISSION
13-
_ENABLEPERPIXELDISPLACEMENT_OFF _MASKMAP _METALLICGLOSSMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE
14-
_TESSELLATIONOBJECTSCALE_OFF _TESSELLATION_DISPLACEMENT
12+
_DISTORTIONENABLE_OFF _DISTORTIONONLY_OFF _DOUBLESIDEDMIRRORENABLE_OFF _DOUBLESIDED_LIGHTING_MIRROR
13+
_DOUBLESIDED_ON _EMISSION _ENABLEPERPIXELDISPLACEMENT_OFF _MASKMAP _METALLICGLOSSMAP
14+
_NORMALMAP _NORMALMAP_TANGENT_SPACE _TESSELLATIONOBJECTSCALE_OFF _TESSELLATION_DISPLACEMENT
1515
m_LightmapFlags: 1
1616
m_EnableInstancingVariants: 0
17-
m_CustomRenderQueue: 2450
18-
stringTagMap:
19-
RenderType: TransparentCutout
17+
m_CustomRenderQueue: -1
18+
stringTagMap: {}
2019
disabledShaderPasses:
2120
- DistortionVectors
2221
m_SavedProperties:
@@ -138,6 +137,7 @@ Material:
138137
- _DistortionEnable: 0
139138
- _DistortionOnly: 0
140139
- _DoubleSidedEnable: 1
140+
- _DoubleSidedMirrorEnable: 0
141141
- _DoubleSidedMode: 3
142142
- _DstBlend: 0
143143
- _EmissiveColorMode: 1
@@ -193,6 +193,7 @@ Material:
193193
m_Colors:
194194
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
195195
- _Color: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
196+
- _DoubleSidedConstants: {r: -1, g: -1, b: -1, a: 0}
196197
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
197198
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
198199
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}

Assets/TestScenes/HDTest/GraphicTest/Two Sided/Material/GroundLeaf_DoubleSidedFlip.mat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Material:
134134
- _DistortionEnable: 0
135135
- _DistortionOnly: 0
136136
- _DoubleSidedEnable: 1
137+
- _DoubleSidedMirrorEnable: 1
137138
- _DoubleSidedMode: 2
138139
- _DstBlend: 0
139140
- _EmissiveColorMode: 1
@@ -189,6 +190,7 @@ Material:
189190
m_Colors:
190191
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
191192
- _Color: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
193+
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
192194
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
193195
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
194196
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}

Assets/TestScenes/HDTest/LayeredLitTest/Material/Layered_Layer0_Triplanar.mat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Material:
193193
- _BlendUsingHeight2: 0
194194
- _BlendUsingHeight3: 0
195195
- _BumpScale: 1
196-
- _CullMode: 0
196+
- _CullMode: 2
197197
- _Cutoff: 0.5
198198
- _DepthOffsetEnable: 0
199199
- _DetailAOScale0: 1
@@ -221,6 +221,8 @@ Material:
221221
- _DistortionDepthTest: 0
222222
- _DistortionEnable: 0
223223
- _DistortionOnly: 0
224+
- _DoubleSidedEnable: 0
225+
- _DoubleSidedMirrorEnable: 1
224226
- _DoubleSidedMode: 1
225227
- _DstBlend: 0
226228
- _EmissiveColorMode: 0
@@ -368,6 +370,7 @@ Material:
368370
- _BaseColor2: {r: 1, g: 1, b: 1, a: 1}
369371
- _BaseColor3: {r: 1, g: 1, b: 1, a: 1}
370372
- _Color: {r: 1, g: 1, b: 1, a: 1}
373+
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
371374
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
372375
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
373376
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}

Assets/TestScenes/HDTest/LayeredLitTest/Material/Layered_Layer1_Triplanar.mat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Material:
193193
- _BlendUsingHeight2: 0
194194
- _BlendUsingHeight3: 0
195195
- _BumpScale: 1
196-
- _CullMode: 0
196+
- _CullMode: 2
197197
- _Cutoff: 0.5
198198
- _DepthOffsetEnable: 0
199199
- _DetailAOScale0: 1
@@ -221,6 +221,8 @@ Material:
221221
- _DistortionDepthTest: 0
222222
- _DistortionEnable: 0
223223
- _DistortionOnly: 0
224+
- _DoubleSidedEnable: 0
225+
- _DoubleSidedMirrorEnable: 1
224226
- _DoubleSidedMode: 1
225227
- _DstBlend: 0
226228
- _EmissiveColorMode: 0
@@ -364,6 +366,7 @@ Material:
364366
- _BaseColor2: {r: 1, g: 1, b: 1, a: 1}
365367
- _BaseColor3: {r: 1, g: 1, b: 1, a: 1}
366368
- _Color: {r: 1, g: 1, b: 1, a: 1}
369+
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
367370
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
368371
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
369372
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}

Assets/TestScenes/HDTest/LayeredLitTest/Material/Layered_Layer2_Triplanar.mat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Material:
193193
- _BlendUsingHeight2: 0
194194
- _BlendUsingHeight3: 0
195195
- _BumpScale: 1
196-
- _CullMode: 0
196+
- _CullMode: 2
197197
- _Cutoff: 0.5
198198
- _DepthOffsetEnable: 0
199199
- _DetailAOScale0: 1
@@ -221,6 +221,8 @@ Material:
221221
- _DistortionDepthTest: 0
222222
- _DistortionEnable: 0
223223
- _DistortionOnly: 0
224+
- _DoubleSidedEnable: 0
225+
- _DoubleSidedMirrorEnable: 1
224226
- _DoubleSidedMode: 1
225227
- _DstBlend: 0
226228
- _EmissiveColorMode: 0
@@ -364,6 +366,7 @@ Material:
364366
- _BaseColor2: {r: 0.61764705, g: 1, b: 0.74685603, a: 1}
365367
- _BaseColor3: {r: 1, g: 1, b: 1, a: 1}
366368
- _Color: {r: 1, g: 1, b: 1, a: 1}
369+
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
367370
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
368371
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
369372
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}

Assets/TestScenes/HDTest/LayeredLitTest/Material/Layered_Layer3_Triplanar.mat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Material:
193193
- _BlendUsingHeight2: 0
194194
- _BlendUsingHeight3: 0
195195
- _BumpScale: 1
196-
- _CullMode: 0
196+
- _CullMode: 2
197197
- _Cutoff: 0.5
198198
- _DepthOffsetEnable: 0
199199
- _DetailAOScale0: 1
@@ -221,6 +221,8 @@ Material:
221221
- _DistortionDepthTest: 0
222222
- _DistortionEnable: 0
223223
- _DistortionOnly: 0
224+
- _DoubleSidedEnable: 0
225+
- _DoubleSidedMirrorEnable: 1
224226
- _DoubleSidedMode: 1
225227
- _DstBlend: 0
226228
- _EmissiveColorMode: 0
@@ -364,6 +366,7 @@ Material:
364366
- _BaseColor2: {r: 1, g: 1, b: 1, a: 1}
365367
- _BaseColor3: {r: 0.6602435, g: 0.63235295, b: 1, a: 1}
366368
- _Color: {r: 1, g: 1, b: 1, a: 1}
369+
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
367370
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
368371
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
369372
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}

Assets/TestScenes/HDTest/Material/HDRenderLoopMaterials/unlitTwoSided.mat

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ Material:
99
m_Name: unlitTwoSided
1010
m_Shader: {fileID: 4800000, guid: c4edd00ff2db5b24391a4fcb1762e459, type: 3}
1111
m_ShaderKeywords: _ALPHACUTOFFENABLE_OFF _DISTORTIONDEPTHTEST_OFF _DISTORTIONONLY_OFF
12-
_EMISSION
12+
_DOUBLESIDED_ON _EMISSION
1313
m_LightmapFlags: 1
14+
m_EnableInstancingVariants: 0
1415
m_CustomRenderQueue: -1
1516
stringTagMap: {}
17+
disabledShaderPasses:
18+
- DistortionVectors
1619
m_SavedProperties:
1720
serializedVersion: 3
1821
m_TexEnvs:
@@ -36,6 +39,10 @@ Material:
3639
m_Texture: {fileID: 0}
3740
m_Scale: {x: 1, y: 1}
3841
m_Offset: {x: 0, y: 0}
42+
- _DistortionVectorMap:
43+
m_Texture: {fileID: 0}
44+
m_Scale: {x: 1, y: 1}
45+
m_Offset: {x: 0, y: 0}
3946
- _EmissionMap:
4047
m_Texture: {fileID: 0}
4148
m_Scale: {x: 1, y: 1}
@@ -69,7 +76,9 @@ Material:
6976
- _Cutoff: 0.5
7077
- _DetailNormalMapScale: 1
7178
- _DistortionDepthTest: 0
79+
- _DistortionEnable: 0
7280
- _DistortionOnly: 0
81+
- _DoubleSidedEnable: 1
7382
- _DoubleSidedMode: 1
7483
- _DstBlend: 0
7584
- _EmissiveIntensity: 0
@@ -85,6 +94,7 @@ Material:
8594
- _SrcBlend: 1
8695
- _SurfaceType: 0
8796
- _UVSec: 0
97+
- _ZTestMode: 8
8898
- _ZWrite: 1
8999
m_Colors:
90100
- _Color: {r: 1, g: 1, b: 1, a: 1}

0 commit comments

Comments
 (0)