SoShaderParameterPlane¶
-
InventorModule
¶ genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def keywords vertex
,fragment
,geometry
Purpose¶
The module SoShaderParameterPlane
provides a means to set a plane
uniform parameter.
This can be used to, e.g., calculate the distance from a point to a plane in a shader.
Parameter Fields¶
Visible Fields¶
Transform To Eye Coordinates¶
-
name:
transformToEyeCoordinates
, type:
Bool
, default:
FALSE
¶ If checked, the plane is transformed to eye coordinates, using the current model-view matrix of the Open Inventor state.
This can be useful if using the plane in a shader and can avoid the matrix multiplications that would otherwise have to be performed in the shader.