[osg-users] Texture projection on terrain and gl_TextureMatrix[0...7]

Ekaterina Fokina ekaterina.fokina at tum.de
Thu Dec 22 07:03:10 PST 2016

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!


Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: textureMapping.jpg
Type: image/jpeg
Size: 48558 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161222/3bd0b8c9/attachment-0003.jpg>

More information about the osg-users mailing list