Good find. I must admit my knowledge of GLSL is very limited, and the shader is not mine. Does the statement "random(vec4(gl_FragCoord.xyy,i))" return a float? Would some other mechanism to select a random int from [0..63] be applicable and deliver equal or better results?
Good find. I must admit my knowledge of GLSL is very limited, and the shader is not mine. Does the statement "random( vec4(gl_ FragCoord. xyy,i)) " return a float? Would some other mechanism to select a random int from [0..63] be applicable and deliver equal or better results?