BlobShadows - Fix GLES3 shader builtin

The `BLOB_SHADOW` builtin wasn't registered with the shader compiler for GLES3.
This commit is contained in:
lawnjelly 2025-11-14 10:52:39 +00:00
parent a117d512b0
commit 76bdc0695d

View file

@ -1233,6 +1233,7 @@ ShaderCompilerGLES3::ShaderCompilerGLES3() {
actions[VS::SHADER_SPATIAL].renames["CAMERA_POSITION_WORLD"] = "camera_matrix[3].xyz";
actions[VS::SHADER_SPATIAL].renames["CAMERA_DIRECTION_WORLD"] = "camera_inverse_matrix[3].xyz";
actions[VS::SHADER_SPATIAL].renames["NODE_POSITION_VIEW"] = "(camera_inverse_matrix * world_transform)[3].xyz";
actions[VS::SHADER_SPATIAL].renames["BLOB_SHADOW"] = "blob_shadow_total";
//for light
actions[VS::SHADER_SPATIAL].renames["VIEW"] = "view";