Skip to content

Commit 42b054a

Browse files
authored
Merge pull request #112755 from lawnjelly/fix_gles3_blob_shadow_builtin
[3.x] `BlobShadows` - Fix `GLES3` shader builtin
2 parents a117d51 + 76bdc06 commit 42b054a

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)