Hi Ekaterina, post your code ... We can fix it when time permits ;-)
On Thu, Dec 22, 2016 at 4:27 PM, Christian Buchner < [email protected]> wrote: > Just some wild guesses: > > You might have to enable blending in the state set, and set an appropriate > blend function as (depending on whether your projective texturing is done > in a 2nd render pass or not) > > On hardware that does not support opengl border colors > (ARB_texture_border_clamp) in hardware, you might have to explicitly set > the texture's border pixels to a transparent color, turning a 512x512 image > into effectively a 510x510 one. > > Christian > > > 2016-12-22 16:03 GMT+01:00 Ekaterina Fokina <[email protected]>: > >> Thank you your answers! >> >> Attached there is a printscreen what I get. >> For the terrain I am using lz.osgt and the image for the texture file is >> osg128.png. >> >> I set the border to transparent, but unfortunatelly it didn“t help... >> >> Guys, could you please give me a hint how is it possible to relocate the >> projected image on the terrain to a specific location on that terrain? >> I am still confused how to set the texture coordinats uning shaders. >> >> Thank you! >> >> Cheers, >> Ekaterina >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=69738#69738 >> >> >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

