|07-17-10, 11:12 PM||#1|
Join Date: Jan 2010
Wrong interpolation between 2 vertices
I am using the experimental drivers 195.36.07.04 (I want modern OpenGL support).
I am drawing a line, from P0 to P1.
I have a varying variable declared like this in my vertex shader:
noperspective out vec3 var_debug_color;
In my vertex shader, I assign to var_debug_color the value vec3(0.0, 0.5, 0.0) for P0 and vec3(0.5, 0.0, 0.0) for P1.
P0 is visible, P1 is not inside the view frustum (behind the camera).
In my fragment shader, I just output vec4(var_debug_color, 0.0).
Problem: the values which appear on screen are above 127 for the green component!
Example RGB output I get:
0, 127, 0
0, 129, 0
0, 131, 0
0, 135, 0
I suppose this is a bug in the driver. I think I could provide a test case, if someone is willing to investigate this bug.
|07-18-10, 01:19 AM||#2|
Join Date: Mar 2005
Re: Wrong interpolation between 2 vertices
195.36.07.04 is old, I'd suggest using 256.35. If the problem still occurs with that, then please do attach a simple test case, along with an nvidia-bug-report.log.gz file.