[unity] Fixed URP 2D Sprite shader not respecting straight alpha blend modes. Closes #1755.

This commit is contained in:
Harald Csaszar 2020-09-03 17:34:59 +02:00
parent 24e17bfeea
commit cf7035e112

View File

@ -104,7 +104,7 @@ half4 CombinedShapeLightFragment(VertexOutputSpriteURP2D input) : SV_Target
#endif
APPLY_EMISSION(pixel.rgb, input.texcoord)
pixel = prepareLitPixelForOutput(pixel, input.vertexColor);
COLORISE(pixel)
return pixel;
}