summaryrefslogtreecommitdiff
path: root/slideshow/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/opengl')
-rw-r--r--slideshow/opengl/dissolveFragmentShader.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/slideshow/opengl/dissolveFragmentShader.glsl b/slideshow/opengl/dissolveFragmentShader.glsl
index 1ceb13f69863..adc4e163d71a 100644
--- a/slideshow/opengl/dissolveFragmentShader.glsl
+++ b/slideshow/opengl/dissolveFragmentShader.glsl
@@ -38,6 +38,8 @@ 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);
if( sn < time)
gl_FragColor = texture2D(enteringSlideTexture, v_texturePosition);