Skip to content

Commit 90b228c

Browse files
committed
....Fixed krabby and kingler and fog somehow in the same go.
1 parent 72786a0 commit 90b228c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/resources/assets/generations_core/shaders/animated.vs.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void main() {
7373

7474
gl_Position = worldSpace * worldPosition;
7575
vertexColor = getVertexColor();
76-
vertexDistance = fog_distance(positions, FogShape);
76+
vertexDistance = fog_distance(gl_Position.xyz, FogShape);
7777
lightMapColor = texelFetch(lightmap, light / 16, 0);
7878
texCoord0 = (texcoords * uvScale) + uvOffset;
7979

0 commit comments

Comments
 (0)