Hello.
I try to create an algorithm which uses a configurable number of samples:
uniform vec3 sample_kernel[256];
When i use value higher than 502, i get some errors which probably
refer to my GPU (gtx 650).
It seems gl_MaxFragmentUniformComponents is 2048.
I try to use
Hi Peterakos,
How you would tackle the problem depends upon what your need are for
changing the number of uniforms.
In terms of OpenGL objects it's generally best to used fixed size objects
so that you don't have to reallocate them. To change the size used by
the shader one would simply pass in
2 matches
Mail list logo