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