Robert Osfield
|
bf517febfc
|
Merge branch 'master' into shader_pipeline
|
2017-10-28 12:58:47 +01:00 |
|
Robert Osfield
|
1691639d17
|
Fixed build
|
2017-03-28 17:45:54 +01:00 |
|
Robert Osfield
|
81233ba974
|
Cleaned up osgshaderpipeline removing functionality now automatically provided in the core OSG
|
2017-03-23 17:59:39 +00:00 |
|
Robert Osfield
|
5bfefdae6a
|
Added mapping of texture modes to #define's to inject into shaders where required
|
2017-03-23 17:42:33 +00:00 |
|
Robert Osfield
|
44c11a856b
|
Added toggling of the osg::State ::setUseModelViewAndProjectionUniforms() and setUseVertexAttributeAliasing() via the --mv and --va command line options respectively
|
2017-03-23 17:42:33 +00:00 |
|
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 |
|