how MPGeometry use osg::Texture directly not use getOrCreateStateSet to reach same reslut?

classic Classic list List threaded Threaded
2 messages Options
ldj ldj
Reply | Threaded
Open this post in threaded view
|

how MPGeometry use osg::Texture directly not use getOrCreateStateSet to reach same reslut?

This post was updated on .
CONTENTS DELETED
The author has deleted this message.
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: how MPGeometry use osg::Texture directly not use getOrCreateStateSet to reach same reslut?

You can find the code here. It basically does the same thing that OSG does internally.

https://github.com/gwaldron/osgearth/blob/master/src/osgEarthDrivers/engine_mp/MPGeometry.cpp#L315

Glenn Waldron / Pelican Mapping