[osg-users] Detail Texture
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Thu Dec 8 00:22:08 PST 2016
Hi Rambabu,
Could you please post osgEarth specific questions in the osgEarth?
Chances for
> 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.
Use grep, a file browser or ... This is a basic task anyone using a
computer for programming should be capable of.
Even using google would have helped here ..
#include <osgEarthUtil/DetailTexture>
almost the first hit ...Learn your tools!
Cheers
Sebastian
>
> ...
>
> Thank you!
>
> Cheers,
> Rambabu
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69630#69630
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
More information about the osg-users
mailing list