mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-08 11:46:53 +08:00
[unity] Fixed URP 2D Sprite shader not respecting straight alpha blend modes. Closes #1755.
This commit is contained in:
parent
24e17bfeea
commit
cf7035e112
@ -104,7 +104,7 @@ half4 CombinedShapeLightFragment(VertexOutputSpriteURP2D input) : SV_Target
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
APPLY_EMISSION(pixel.rgb, input.texcoord)
|
APPLY_EMISSION(pixel.rgb, input.texcoord)
|
||||||
|
pixel = prepareLitPixelForOutput(pixel, input.vertexColor);
|
||||||
COLORISE(pixel)
|
COLORISE(pixel)
|
||||||
return pixel;
|
return pixel;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user