[osg-users] Strips on AnimatedTexturing on Terrain by GLSL

2008-10-17 Thread Ümit Uzun
Hi All, I had created animated texturing on terrain with using shaders but I have already realized some artifacts on the terrain as you see from that VIDEOhttp://www.fileden.com/files/2007/9/10/1423182/AnimetedTexturing.wmv. Why have this strips created on the terrain in each loop? Any advices to

Re: [osg-users] Strips on AnimatedTexturing on Terrain by GLSL

2008-10-17 Thread David Spilling
Umit, It's a well known gotcha with texture repeats. Each vertex has increasing causticsCoord.x. Imagine the vertices with coord 0.0, 0.1, 0.2, 0.3 etc. The fragments in between any of these coords have _interpolated_ texcoords i.e. a fragment halfway betwen 0.0 and 0.1 vertex has a texcoord of

Re: [osg-users] Strips on AnimatedTexturing on Terrain by GLSL

2008-10-17 Thread Ümit Uzun
Hi David, I unattached the fract math function and all strips gone away :) I haven't thought it was a simple bug :) Thanks so much. Best regards. Umit Uzun 2008/10/17 David Spilling [EMAIL PROTECTED] Umit, It's a well known gotcha with texture repeats. Each vertex has increasing