SoGoochShader

InventorModule
genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Examples
dll SoGoochShader
definition SoGoochShader.def
keywords vertex, fragment, shader

Purpose

The module SoGoochShader uses the SoShader C++ API to provide tone shading by means of the Gooch shader.

The modules source is available in the SDK examples directory.

Windows

Default Panel

../../../Modules/Inventor/SoShaderExample/mhelp/Images/Screenshots/SoGoochShader._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Cool Color: Color
Diffuse Cool: Float
Diffuse Warm: Float
Light Position: Vector3
Surface Color: Color
Warm Color: Color

Visible Fields

Light Position

name: lightPosition, type: Vector3, default: 0 10 4

Sets the position of the light source.

Surface Color

name: surfaceColor, type: Color, default: 0.75 0.75 0.75

Sets the general surface color.

Warm Color

name: warmColor, type: Color, default: 0.600000023841858 0.600000023841858 0

Sets the warm color.

Cool Color

name: coolColor, type: Color, default: 0 0 0.600000023841858

Sets the cool color.

Diffuse Warm

name: diffuseWarm, type: Float, default: 0.44999999

Sets the diffusion value of the warm color.

Diffuse Cool

name: diffuseCool, type: Float, default: 0.44999999

Sets the diffusion value of the cool color.