diff options
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/opengl/dissolveFragmentShader.glsl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/slideshow/opengl/dissolveFragmentShader.glsl b/slideshow/opengl/dissolveFragmentShader.glsl index adc4e163d71a..c6e80e2a6931 100644 --- a/slideshow/opengl/dissolveFragmentShader.glsl +++ b/slideshow/opengl/dissolveFragmentShader.glsl @@ -38,9 +38,7 @@ float snoise(vec2 P) { } void main() { - // No idea why the multiplication by 10 (and not 16, which would seem more logical to me, as - // the permTexture is 16*16 pixels in size). - float sn = snoise(10.0*v_texturePosition); + float sn = snoise(256*v_texturePosition); if( sn < time) gl_FragColor = texture2D(enteringSlideTexture, v_texturePosition); else |