1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00
Files
godot/servers/rendering/renderer_rd/shaders
clayjohn a7e1a65ca8 Apply PREMUL_ALPHA_FACTOR only in non-split-specular shader variants.
This avoids a shader compile error when using SSS and PREMUL_ALPHA_FACTOR in the same shader.

This doesn't change any functionaility, since in practive, the split-specular shader variant is only ever used for opaque objects while using premul alpha makes the object non-opaque
2025-11-14 23:17:17 -08:00
..
2021-05-03 21:54:11 +10:00