Show
Ignore:
Timestamp:
07/19/05 18:30:55 (9 years ago)
Author:
robert
Message:

Ported all the render to texture examples across to using the new osg::CameraNode?.
Added support for texture cube maps in FBO + CameraNode?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgforest/osgforest.cpp

    r4390 r4395  
    10291029            stateset->setAttribute(program); 
    10301030 
    1031             osg::Shader* vertex_shader = new osg::Shader(osg::Shader::VERTEX, vertexShaderSource); 
    1032             program->addShader(vertex_shader); 
     1031            //osg::Shader* vertex_shader = new osg::Shader(osg::Shader::VERTEX, vertexShaderSource); 
     1032            //program->addShader(vertex_shader); 
    10331033 
    10341034            osg::Shader* fragment_shader = new osg::Shader(osg::Shader::FRAGMENT, fragmentShaderSource);