Skip to content

Commit

Permalink
Update for 1.20.5/6
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudWolfYT committed May 11, 2024
1 parent 1914626 commit a894727
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ void main() {
// Vanilla code + emissive stuff
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);

vertexDistance = fog_distance(ModelViewMat, Position, FogShape);
vertexDistance = fog_distance(Position, FogShape);

texCoord0 = UV0;
vertexColor = Color;
lightColor = minecraft_sample_lightmap(Sampler2, UV2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ void main() {
// Vanilla code + emissive stuff
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);

vertexDistance = fog_distance(ModelViewMat, Position, FogShape);
vertexDistance = fog_distance(Position, FogShape);

texCoord0 = UV0;
vertexColor = Color;
lightColor = minecraft_sample_lightmap(Sampler2, UV2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ void main() {
// Vanilla code + emissive stuff
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);

vertexDistance = fog_distance(ModelViewMat, Position, FogShape);
vertexDistance = fog_distance(Position, FogShape);

texCoord0 = UV0;
vertexColor = Color;
lightColor = minecraft_sample_lightmap(Sampler2, UV2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ void main() {
// Vanilla code + emissive stuff
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);

vertexDistance = fog_distance(ModelViewMat, Position, FogShape);
vertexDistance = fog_distance(Position, FogShape);

texCoord0 = UV0;
vertexColor = Color;
lightColor = minecraft_sample_lightmap(Sampler2, UV2);
Expand Down

0 comments on commit a894727

Please sign in to comment.