View Full Version : Awful artifacts (GLSL)

10-13-2004, 10:20 AM
Just created another framework & just for a test threw a simple shader in. I don't know am I lucky or what, but banding is very well noticable and annoying, like it would be fp16 or smthn. I am runing on 6800GT, 32 bit should be default... How it'll look on R with 24 bit then???



varying vec3 VertexPos;

void main(void)
gl_Position = ftransform();
VertexPos = (gl_ModelViewMatrix * gl_Vertex).xyz;

varying vec3 VertexPos;

void main ()
gl_FragColor.rgb = length(VertexPos)*.25.xxx;
gl_FragColor.a = 1.0;

10-15-2004, 03:48 PM
I don't see what you are talking about. That screenshot doesn't appear to have any banding.