Hello

In osgppu_ssao project in simple.h file, there are the following lines:

shader->add("originalDepthTexture", osg::Uniform::SAMPLER_2D);
shader->set("originalDepthTexture", 1);

Where is the depth texture associated with texture unit 1 ?
i couldnt find it anywhere.

thnx.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to