[osg-users] Detail Texture

Rambabu Repaka ramboram488 at gmail.com
Wed Dec 7 21:37:43 PST 2016


Hi,
        DetailTexture* detail = new DetailTexture();
	detail->setImage(osgDB::readImageFile("mytexture.jpg"));
	detail->setIntensity(0.5f);
	detail->setImageUnit(4);
	mapNode->getTerrainEngine()->addEffect(detail);
   what is the header file for detail texture to work in osg earth ? It is showing error at detail texture.

... 

Thank you!

Cheers,
Rambabu

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69630#69630








More information about the osg-users mailing list