Added basic support for applying uniforms to programs, non lazy state updating

is yet applied though.
This commit is contained in:
Robert Osfield
2005-04-13 14:12:06 +00:00
parent 2e10cffb4d
commit 0015a31de8
4 changed files with 27 additions and 16 deletions

View File

@@ -376,7 +376,7 @@ GL2Scene::~GL2Scene()
void
GL2Scene::reloadShaderSource()
{
osg::notify(osg::WARN) << "reloadShaderSource()" << std::endl;
osg::notify(osg::INFO) << "reloadShaderSource()" << std::endl;
LoadShaderSource( BlockyVertObj, "shaders/blocky.vert" );
LoadShaderSource( BlockyFragObj, "shaders/blocky.frag" );