diff options
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/default.f.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/default.f.glsl b/shaders/default.f.glsl index efc570d..18c911d 100644 --- a/shaders/default.f.glsl +++ b/shaders/default.f.glsl @@ -8,8 +8,8 @@ void main() { vec2 modifiedCoord = vec2(texcoord.x, (floor(texcoord.y * 512.0) + 0.5)/512.0); gl_FragColor = mix( - texture2D(textures[0], modifiedCoord), texture2D(textures[1], modifiedCoord), - (sin((texcoord.y * 1024.0 + 1.0)* 3.14159265359) + 1.0) * 0.5 + texture2D(textures[0], modifiedCoord), + (sin(texcoord.y * 1024.0 * 3.14159265359) + 1.0) * 0.5 ); } |