Shader Panel¶
About¶
Header File: mograph/description/oshader_panel.h
Description Category: unknown.
Parameters¶
Parameters are accessed with C4DAtom.GetParameter()
/C4DAtom.SetParameter()
.
Parameter: Channel
Parameter ID: c4d.ID_MG_SHADER_CHANNELSELECT
Parameter Type: int
- Cycle Values:
Color (c4d.ID_MG_SHADER_CHANNELSELECT_COLOR)
Luminance (c4d.ID_MG_SHADER_CHANNELSELECT_LUMINANCE)
Transparency (c4d.ID_MG_SHADER_CHANNELSELECT_TRANSPARENCY)
Environment (c4d.ID_MG_SHADER_CHANNELSELECT_ENVIRONMENT)
Bump (c4d.ID_MG_SHADER_CHANNELSELECT_BUMP)
Alpha (c4d.ID_MG_SHADER_CHANNELSELECT_ALPHA)
Specular (c4d.ID_MG_SHADER_CHANNELSELECT_SPECULAR)
Displacement (c4d.ID_MG_SHADER_CHANNELSELECT_DISPLACEMENT)
Diffusion (c4d.ID_MG_SHADER_CHANNELSELECT_DIFFUSION)
Normal (c4d.ID_MG_SHADER_CHANNELSELECT_NORMAL)
Custom Shader (c4d.ID_MG_SHADER_CHANNELSELECT_DIRECT)
Parameter: Edit
Parameter ID: c4d.ID_MG_SHADER_EDIT_CHANNEL
Parameter Type: A button.
Parameter: Material Tag
Parameter ID: c4d.ID_MG_SHADER_MATERIALTAG
Parameter Type:
c4d.BaseList2D
Parameter: Shader
Parameter ID: c4d.ID_MG_SHADER_SHADER
Parameter Type:
c4d.BaseShader
Parameter: OffsetU
Parameter ID: c4d.ID_MG_SHADER_TEXTAG_OFFSETX
Parameter Type: float
Parameter: OffsetV
Parameter ID: c4d.ID_MG_SHADER_TEXTAG_OFFSETY
Parameter Type: float
Parameter: LengthU
Parameter ID: c4d.ID_MG_SHADER_TEXTAG_LENGTHX
Parameter Type: float
Parameter: LengthV
Parameter ID: c4d.ID_MG_SHADER_TEXTAG_LENGTHY
Parameter Type: float
Parameter: Tile
Parameter ID: c4d.ID_MG_SHADER_TEXTAG_TILE
Parameter Type: bool
Parameter: Use
Parameter ID: c4d.ID_MG_SHADER_USE
Parameter Type: int
- Cycle Values:
Alpha (c4d.ID_MG_SHADER_USE_ALPHA)
Gray (c4d.ID_MG_SHADER_USE_GRAY)
Red (c4d.ID_MG_SHADER_USE_RED)
Green (c4d.ID_MG_SHADER_USE_GREEN)
Blue (c4d.ID_MG_SHADER_USE_BLUE)
Parameter: Invert
Parameter ID: c4d.ID_MG_SHADER_INVERTALPHA
Parameter Type: bool