summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/water.fs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/water.fs')
-rw-r--r--gfx/gl/shaders/water.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shaders/water.fs b/gfx/gl/shaders/water.fs
index 2ccc924..a0daa17 100644
--- a/gfx/gl/shaders/water.fs
+++ b/gfx/gl/shaders/water.fs
@@ -10,7 +10,7 @@ uniform vec3 waves;
void
main()
{
- gPosition = vec4(FragPos, 1);
+ gPosition = ivec4(FragPos, 1);
gNormal = vec4(Normal, 1);
gAlbedoSpec = texture(texture0, TexCoords);
gAlbedoSpec.a *= clamp(-FragPos.z * .0007, .1, 1.0);