Added basic support for applying uniforms to programs, non lazy state updating
is yet applied though.
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user