summaryrefslogtreecommitdiff
path: root/slideshow/opengl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-10-26 12:24:31 +0200
committerTor Lillqvist <tml@collabora.com>2015-10-26 12:27:46 +0200
commit1877228ae8e7cc298cf4e45d061ee54774aa1d08 (patch)
tree91fd08508c828e3f5c288c7a08c03855714ac963 /slideshow/opengl
parent429876d12bba23491ca3b69b02b5ce4c6d2311ab (diff)
Add confused comment
Change-Id: I5179ee1cd295f256526feebb192a8548c41276a7
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);