add GLSampler as Texture Property
and a simple example mixing (add) 2 textures
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user