SoShaderProgramshadowShader Property |
Only used when an OIV.Inventor.Nodes.SoShadowGroup is active.
Namespace: OIV.Inventor.Nodes
Default is false. If set to false, a default shader will be used during the shadowmap generation pass. If true, the shader will be used as is and must handle the shadowmap pass correctly:
If the uniform OivShadowPass is true, call OivGenerateShadowMap() and output nothing into gl_FragColor, but discard fragments if needed.
If the uniform OivShadowPass is false, follow the normal render path If the shader doesn't modify the depth (with a discard or an alpha test), Open Inventor will handle the shadowmap generation pass automatically. Default is false See also: OIV.Inventor.Nodes.SoShadowGroup
Note |
---|
Field available since Open Inventor 8.1 |