Robert Osfield
|
8ee319bbd5
|
Added set up of root StateSet in the osg::State to enable shaders to be applied for all rendering on a graphics context.
|
2017-03-23 17:42:33 +00:00 |
|
Robert Osfield
|
d1222fc2ef
|
Added fallback textures to handle cases where no texture is provided
|
2017-03-23 17:42:33 +00:00 |
|
Robert Osfield
|
0bcfa8d980
|
Added shader defines for setting up vertex and fragment shaders with texture support
|
2017-03-23 17:42:33 +00:00 |
|
Robert Osfield
|
5f875682bf
|
Added setup of uniform arrays for passing in texture modes
|
2017-03-23 17:42:33 +00:00 |
|
Robert Osfield
|
b5c071eed9
|
Moved shader file loading to a help function
|
2016-10-20 09:59:26 +01:00 |
|
Robert Osfield
|
c32e6c01ed
|
Fixed shader filename
|
2016-10-20 09:46:47 +01:00 |
|
Robert Osfield
|
fda7c838a1
|
Added osgshaderpipeline example that will server as a testbed for automatically mapping fixed function pipeline to shaders
|
2016-10-19 20:26:26 +01:00 |
|