Skip to content

Commit

Permalink
Fix invalid float in shadow player shader
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Aug 23, 2021
1 parent 143a21f commit 773efa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
org.gradle.jvmargs = -Xmx5G

# Base properties
mod_version = 1.7.13
mod_version = 1.7.14
maven_group = io.github.ladysnake

#General
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ varying vec2 texCoord;
void main(){
vec4 tex = texture2D(DiffuseSampler, texCoord);
vec4 playerTex = texture2D(PlayerSampler, texCoord);
gl_FragColor = vec4(mix(vec3(dot(tex.rgb, vec3(0.2125, 0.7154, 0.0721))), tex.rgb, 1 - playerTex.r), tex.a);
gl_FragColor = vec4(mix(vec3(dot(tex.rgb, vec3(0.2125, 0.7154, 0.0721))), tex.rgb, 1. - playerTex.r), tex.a);
}

0 comments on commit 773efa9

Please sign in to comment.