[PyOpenGL-Users] Tricky question on shader
Brought to you by:
mcfletch
From: Nicolas R. <Nic...@in...> - 2011-08-31 21:48:44
|
Hi folks, I've been playing with gaussian texture filtering using shaders and I obtained a strange "grid" effect on a completely uniform texture. Since all fragments get the same processing and same neighbouring values,I wonder if the grid is the result of some kind of artifact with floating points or the way texture coordinates are interpolated. Or I missed something completely obvious… I attached the code below. It is self-contained and you should see the grid I'm talking about. Nicolas |