Skip to content

Commit a79ae44

Browse files
gabrieldelacruzEvergreen
authored andcommitted
[Particles] Change default particle material for HDRP to be consistent with other pipelines
1 parent 3d914a0 commit a79ae44

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/Material/DefaultHDParticleMaterial.mat

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ Material:
1111
m_Shader: {fileID: 4800000, guid: c4edd00ff2db5b24391a4fcb1762e459, type: 3}
1212
m_Parent: {fileID: 0}
1313
m_ModifiedSerializedProperties: 0
14-
m_ValidKeywords: []
14+
m_ValidKeywords:
15+
- _ENABLE_FOG_ON_TRANSPARENT
16+
- _SURFACE_TYPE_TRANSPARENT
1517
m_InvalidKeywords: []
1618
m_LightmapFlags: 4
1719
m_EnableInstancingVariants: 0
1820
m_DoubleSidedGI: 0
19-
m_CustomRenderQueue: 2000
20-
stringTagMap: {}
21+
m_CustomRenderQueue: 3000
22+
stringTagMap:
23+
RenderType: Transparent
2124
disabledShaderPasses:
2225
- DistortionVectors
2326
- MOTIONVECTORS
@@ -70,7 +73,7 @@ Material:
7073
m_Scale: {x: 1, y: 1}
7174
m_Offset: {x: 0, y: 0}
7275
- _MainTex:
73-
m_Texture: {fileID: 0}
76+
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
7477
m_Scale: {x: 1, y: 1}
7578
m_Offset: {x: 0, y: 0}
7679
- _MaskMap:
@@ -110,7 +113,7 @@ Material:
110113
m_Scale: {x: 1, y: 1}
111114
m_Offset: {x: 0, y: 0}
112115
- _UnlitColorMap:
113-
m_Texture: {fileID: 0}
116+
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
114117
m_Scale: {x: 1, y: 1}
115118
m_Offset: {x: 0, y: 0}
116119
m_Ints: []
@@ -125,7 +128,7 @@ Material:
125128
- _AlphaCutoffPostpass: 0.5
126129
- _AlphaCutoffPrepass: 0.5
127130
- _AlphaCutoffShadow: 0.5
128-
- _AlphaDstBlend: 0
131+
- _AlphaDstBlend: 10
129132
- _AlphaRemapMax: 1
130133
- _AlphaRemapMin: 0
131134
- _AlphaSrcBlend: 1
@@ -164,7 +167,7 @@ Material:
164167
- _DoubleSidedEnable: 0
165168
- _DoubleSidedGIMode: 0
166169
- _DoubleSidedNormalMode: 1
167-
- _DstBlend: 0
170+
- _DstBlend: 10
168171
- _EmissiveColorMode: 1
169172
- _EmissiveExposureWeight: 1
170173
- _EmissiveIntensity: 1
@@ -220,7 +223,7 @@ Material:
220223
- _StencilWriteMaskGBuffer: 3
221224
- _StencilWriteMaskMV: 43
222225
- _SubsurfaceMask: 1
223-
- _SurfaceType: 0
226+
- _SurfaceType: 1
224227
- _TexWorldScale: 1
225228
- _TexWorldScaleEmissive: 1
226229
- _Thickness: 1
@@ -237,11 +240,11 @@ Material:
237240
- _UVEmissive: 0
238241
- _UseEmissiveIntensity: 0
239242
- _UseShadowThreshold: 0
240-
- _ZTestDepthEqualForOpaque: 3
243+
- _ZTestDepthEqualForOpaque: 4
241244
- _ZTestGBuffer: 4
242245
- _ZTestModeDistortion: 4
243246
- _ZTestTransparent: 4
244-
- _ZWrite: 1
247+
- _ZWrite: 0
245248
m_Colors:
246249
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
247250
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
@@ -262,6 +265,7 @@ Material:
262265
- _UnlitColor: {r: 1, g: 1, b: 1, a: 1}
263266
- _UnlitColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
264267
m_BuildTextureStacks: []
268+
m_AllowLocking: 1
265269
--- !u!114 &6200975693885156646
266270
MonoBehaviour:
267271
m_ObjectHideFlags: 11

0 commit comments

Comments
 (0)