This example shows different shader usage by implementing reflection, refractio and chromatic dispersion shader programs.
FILES:
-
Inventor/ShaderBrowser/main.h
-
Inventor/ShaderBrowser/main.cxx
-
Inventor/ShaderBrowser/auditors.h
-
Inventor/ShaderBrowser/auditors.cxx
-
Inventor/ShaderBrowser/dialog.h
-
Inventor/ShaderBrowser/dialog.cxx
-
Inventor/ShaderBrowser/environment.h
-
Inventor/ShaderBrowser/environment.cxx
-
Inventor/ShaderBrowser/materialEditor.h
-
Inventor/ShaderBrowser/materialEditor.cxx
-
Inventor/ShaderBrowser/misc.h
-
Inventor/ShaderBrowser/misc.cxx
-
Inventor/ShaderBrowser/model.h
-
Inventor/ShaderBrowser/model.cxx
-
Inventor/ShaderBrowser/shader.h
-
Inventor/ShaderBrowser/shader.cxx
-
Inventor/ShaderBrowser/Shaders/ToonShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/ToonShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/ToonShader.iv
-
Inventor/ShaderBrowser/Shaders/ShakerShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/ShakerShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/ShakerShader.iv
-
Inventor/ShaderBrowser/Shaders/RefractLightingShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/RefractLightingShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/RefractLightingShader.iv
-
Inventor/ShaderBrowser/Shaders/ReflexionLightingShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/ReflexionLightingShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/ReflexionLightingShader.iv
-
Inventor/ShaderBrowser/Shaders/InkToonShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/InkToonShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/InkToonShader.iv
-
Inventor/ShaderBrowser/Shaders/GenericBumpMapShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/GenericBumpMapShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/GenericBumpMapShader.iv
-
Inventor/ShaderBrowser/Shaders/AnisotropicShaderVtx.glsl
-
Inventor/ShaderBrowser/Shaders/AnisotropicShaderFrag.glsl
-
Inventor/ShaderBrowser/Shaders/AnisotropicShader.iv
SEE ALSO
SoShaderObject, SoShaderProgram, SoShaderParameter, SoVertexShader, SoFragmentShader
SCREENSHOT: