diff options
author | makamys <makamys@outlook.com> | 2022-06-23 10:26:38 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-23 12:22:23 +0200 |
commit | 07c988f5a0ce2f7c60b864dd5ee64860d7cea457 (patch) | |
tree | c201085eba5e33b1713618ed4f90977b7a9ab356 /src/main/resources/shaders | |
parent | 83b035c243b3ffeac9d57f7ab6d4cd89c0e25851 (diff) | |
download | Neodymium-07c988f5a0ce2f7c60b864dd5ee64860d7cea457.tar.gz Neodymium-07c988f5a0ce2f7c60b864dd5ee64860d7cea457.tar.bz2 Neodymium-07c988f5a0ce2f7c60b864dd5ee64860d7cea457.zip |
Make UV shortification disableable
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; |