diff options
Diffstat (limited to 'src/main/resources/shaders')
-rw-r--r-- | src/main/resources/shaders/chunk.frag | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/resources/shaders/chunk.frag b/src/main/resources/shaders/chunk.frag index 2e729b1..1922f03 100644 --- a/src/main/resources/shaders/chunk.frag +++ b/src/main/resources/shaders/chunk.frag @@ -27,7 +27,12 @@ void main() goodTexCoord = ProvokingTexCoord.xy + (((TexCoord.xy - ProvokingTexCoord.xy) / MQPos.zw) * vec2(wrappedU, wrappedV)); } #endif - vec4 texColor = texture(atlas, goodTexCoord / 16384.0); + + vec4 texColor = texture(atlas, goodTexCoord +#ifdef SHORT_UV + / 16384.0 +#endif + ); vec4 colorMult = Color/256.0; |