add GLSampler as Texture Property

and a simple example mixing (add) 2 textures
This commit is contained in:
Julien Valentin
2018-01-03 21:22:38 +01:00
parent 6492ec8c6b
commit 662bea239c
8 changed files with 593 additions and 4 deletions

View File

@@ -699,7 +699,8 @@ class OSG_EXPORT Texture : public osg::StateAttribute
enum ShadowTextureMode {
LUMINANCE = GL_LUMINANCE,
INTENSITY = GL_INTENSITY,
ALPHA = GL_ALPHA
ALPHA = GL_ALPHA,
NONE = GL_NONE
};
/** Sets shadow texture mode after comparison. */