HI Umit,

Are you using object linear texgen for the caustics?  If so switch to
using eye linear texgen and use a TexGenNode to position the texgen
planes.  See examples like osgspotlight for an example of how to set
this up.  Once you've set up your TexGenNode your texture coordinates
will span tiles without ever repeating (unless you decide to do so :-)

Robert.

On Fri, Sep 26, 2008 at 9:04 AM, Ümit Uzun <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have created a GLSL shader to create Caustics effect on PagedLOD terrain
> which was created by VPB with using CubeMap texturing on terrain. But there
> is a problem as you see from VIDEO. Problem is changing texcoord in every
> LOD. So my main effect textured place changing. At that point I want to play
> texcoord to not change only for cubemap texture operation on shader. How can
> I fix this bug ?
>
> Best Regards.
>
> Umit Uzun
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to