mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[unity] Fixed remaining shader compile error occurring during build on Unity URP versions 12.x and 13.x. See related commit 2f1b0b8.
This commit is contained in:
parent
f0ad8e2024
commit
01e457a8af
@ -180,7 +180,7 @@ half4 frag(VertexOutput i
|
||||
i.color.rgb = lerp(i.shadowedColor, i.color.rgb, shadowAttenuation);
|
||||
#endif
|
||||
|
||||
#ifdef _WRITE_RENDERING_LAYERS
|
||||
#ifdef USE_WRITE_RENDERING_LAYERS
|
||||
uint renderingLayers = GetMeshRenderingLayerBackwardsCompatible();
|
||||
outRenderingLayers = float4(EncodeMeshRenderingLayer(renderingLayers), 0, 0, 0);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user