Kaydet (Commit) 8c84777c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Actually, the permTexture is 256*256 pixels

Change-Id: Ia32c98d8162f31a8ee0b0d0c1301ca204c9c3c87
üst 5b1bd78b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment