Skip to content

Commit a587cbc

Browse files
committed
Made train tracks not cast shadows
- Quick fix for a video in production - I should have attached my recording environment to another branch, but it's too late for that now
1 parent 4c3280c commit a587cbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shaders/gbuffers_shadow.glsl

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ bool CullVertex(vec3 wPos) {
117117
}
118118

119119
void main() {
120+
if (mc_Entity.x == 66) { gl_Position = vec4(-1.0); return; }
121+
120122
materialIDs = BackPortID(int(mc_Entity.x));
121123

122124
#ifndef WATER_SHADOW

0 commit comments

Comments
 (0)