slideshow/opengl/dissolveFragmentShader.glsl | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 1877228ae8e7cc298cf4e45d061ee54774aa1d08 Author: Tor Lillqvist <[email protected]> Date: Mon Oct 26 12:24:31 2015 +0200 Add confused comment Change-Id: I5179ee1cd295f256526feebb192a8548c41276a7 diff --git a/slideshow/opengl/dissolveFragmentShader.glsl b/slideshow/opengl/dissolveFragmentShader.glsl index 1ceb13f..adc4e16 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); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
