ShaderParameterColorAlpha

MacroModule
genre Shader
author Christian Rieder
package FMEwork/ReleaseMeVis
definition ShaderHelpers.def
see also SoShaderParameterColor, SoShaderParameter1f
keywords vertex, fragment, geometry, shader, color, alpha, parameter, uniform

Purpose

Provides a mean to set a four-component floating point uniform parameter (vec4) using a color control and alpha slider.

Windows

Default Panel

../../../Modules/Macros/ShaderHelpers/mhelp/Images/Screenshots/ShaderParameterColorAlpha._default.png

Output Fields

output0

name: output0, type: SoNode

Parameter Fields

Visible Fields

Color

name: color, type: Color, default: 0 0 0

Alpha

name: alpha, type: Double, default: 1, minimum: 0, maximum: 1

Name

name: name, type: String