aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/default_shader/opengl_fragment.glsl
diff options
context:
space:
mode:
authorlhofhansl <lhofhansl@yahoo.com>2019-09-26 13:57:39 -0700
committerGitHub <noreply@github.com>2019-09-26 13:57:39 -0700
commit5fde69798c69b26b8f1cc5c3ed5b823d691599fd (patch)
tree3301e9ec0cca8f05bd81fe75fcf461ee000436ed /client/shaders/default_shader/opengl_fragment.glsl
parent9e95bac75d43534614d168614624fa24048faf48 (diff)
downloadminetest-5fde69798c69b26b8f1cc5c3ed5b823d691599fd.tar.gz
minetest-5fde69798c69b26b8f1cc5c3ed5b823d691599fd.tar.bz2
minetest-5fde69798c69b26b8f1cc5c3ed5b823d691599fd.zip
Simple shader fixes. (#8991)
1. Pass current camera offset to shader, so shader have access to the global coordinates 2. Pass animation timer to fragment shader. C++ code is already there, just wasn't declared in the shader 3. Delay animation timer wrap-around (from 100s to about 16 minutes)
Diffstat (limited to 'client/shaders/default_shader/opengl_fragment.glsl')
0 files changed, 0 insertions, 0 deletions