Added dots instancing support;
Fixed the problem that shader can compile when using emission color map;
This commit is contained in:
@@ -84,7 +84,7 @@ void Frag(PackedVaryingsToPS packedInput,
|
||||
discard;
|
||||
#endif
|
||||
|
||||
float4 objPos = mul(unity_ObjectToWorld, float4(0, 0, 0, 1));
|
||||
float4 objPos = mul(UNITY_MATRIX_M, float4(0, 0, 0, 1));
|
||||
float4 uv0 = input.texCoord0;
|
||||
float4 outlineColor = _OutlineColor;
|
||||
#if _OUTLINECOLORMAP
|
||||
@@ -128,4 +128,4 @@ void Frag(PackedVaryingsToPS packedInput,
|
||||
#ifdef UNITY_VIRTUAL_TEXTURING
|
||||
outVTFeedback = builtinData.vtPackedFeedback;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user