Skip to content

Commit 76bdc06

Browse files
committed
BlobShadows - Fix GLES3 shader builtin
The `BLOB_SHADOW` builtin wasn't registered with the shader compiler for GLES3.
1 parent a117d51 commit 76bdc06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gles3/shader_compiler_gles3.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,7 @@ ShaderCompilerGLES3::ShaderCompilerGLES3() {
12331233
actions[VS::SHADER_SPATIAL].renames["CAMERA_POSITION_WORLD"] = "camera_matrix[3].xyz";
12341234
actions[VS::SHADER_SPATIAL].renames["CAMERA_DIRECTION_WORLD"] = "camera_inverse_matrix[3].xyz";
12351235
actions[VS::SHADER_SPATIAL].renames["NODE_POSITION_VIEW"] = "(camera_inverse_matrix * world_transform)[3].xyz";
1236+
actions[VS::SHADER_SPATIAL].renames["BLOB_SHADOW"] = "blob_shadow_total";
12361237

12371238
//for light
12381239
actions[VS::SHADER_SPATIAL].renames["VIEW"] = "view";

0 commit comments

Comments
 (0)