SoShaderParameterPlane¶
-
InventorModule
¶ genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def keywords vertex
,fragment
,geometry
Purpose¶
Provides a mean 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 enabled, the plane is transformed to eye coordinates, using the current model-view matrix of the Inventor state. This can be useful when using the plane in a shader and can avoid the matrix multiplications that would otherwise have to be done in the shader.