Added beginnings of shader composition with the shells of the ShaderComposer and ShaderAttribute classes. This aren't

functional yet, but a useful placeholders for future fucntionality.
This commit is contained in:
Robert Osfield
2010-06-24 17:15:27 +00:00
parent 83ea076d8b
commit 5cac233764
7 changed files with 268 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ State::State():
{
_graphicsContext = 0;
_contextID = 0;
_shaderComposer = new ShaderComposer;
_identity = new osg::RefMatrix(); // default RefMatrix constructs to identity.
_initialViewMatrix = _identity;
_projection = _identity;