Variation Shader¶
About¶
Header File: shader/description/xvariation.h
Description Category: Shaders. A
c4d.BaseShader
.
Parameters¶
Parameters are accessed with C4DAtom.GetParameter()
/C4DAtom.SetParameter()
.
Parameter: Seed
Parameter ID: c4d.VARIATIONSHADER_SEED
Parameter Type: float
Parameter: Object Variation
Parameter ID: c4d.VARIATIONSHADER_SEED_MODE_OBJECT_CAT
Parameter Type: int
- Cycle Values:
Disabled (c4d.VARIATIONSHADER_SEED_MODE_OBJECT_OFF)
Object Name (c4d.VARIATIONSHADER_SEED_MODE_OBJECT_NAME)
Object Hierarchy (c4d.VARIATIONSHADER_SEED_MODE_OBJECT_ID)
Parent (c4d.VARIATIONSHADER_SEED_MODE_PARENT)
Objects (c4d.VARIATIONSHADER_SEED_MODE_INSTANCE_ID)
Object Buffer IDs (c4d.VARIATIONSHADER_SEED_MODE_BUFFER_ID)
Material Name (c4d.VARIATIONSHADER_SEED_MODE_MATERIAL_ID)
Parameter: Polygon Variation
Parameter ID: c4d.VARIATIONSHADER_SEED_MODE_POLYGON_CAT
Parameter Type: int
- Cycle Values:
Disabled (c4d.VARIATIONSHADER_SEED_MODE_POLYGON_OFF)
Polygons (c4d.VARIATIONSHADER_SEED_MODE_POLYGON_ID)
Polygon Selection Tag (c4d.VARIATIONSHADER_SEED_MODE_POLYGON_SELECTION_TAG)
UV Tiles (c4d.VARIATIONSHADER_SEED_MODE_POLYGON_UV_TILES)
Parameter: Polygon Step
Parameter ID: c4d.VARIATIONSHADER_POLYGON_STEP
Parameter Type: float
Parameter: Probability
Parameter ID: c4d.VARIATIONSHADER_PROBABILITY
Parameter Type: float
Parameter: Global Mask
Parameter ID: c4d.VARIATIONSHADER_MASK
Parameter Type:
c4d.BaseShader
Parameter: Add
Parameter ID: c4d.VARIATIONSHADER_ADD
Parameter Type: A button.
Parameter: Clear
Parameter ID: c4d.VARIATIONSHADER_CLEAR
Parameter Type: A button.
Parameter: Add from Folder
Parameter ID: c4d.VARIATIONSHADER_ADDFOLDER
Parameter Type: A button.
Parameter: Normalize Distribution
Parameter ID: c4d.VARIATIONSHADER_NORMALIZE
Parameter Type: A button.
Parameter: Distribute Evenly
Parameter ID: c4d.VARIATIONSHADER_DISTRIBUTE_EVENLY
Parameter Type: A button.
Parameter: Secondary Texture
Parameter ID: c4d.VARIATIONSHADER_SECONDARY_TEXTURE
Parameter Type:
c4d.BaseShader
Parameter: Secondary Texture Blend
Parameter ID: c4d.VARIATIONSHADER_SECONDARY_TEXTURE_BLEND
Parameter Type: float
Parameter: Secondary Texture Mode
Parameter ID: c4d.VARIATIONSHADER_SECONDARY_TEXTURE_MODE
Parameter Type: int
- Cycle Values:
Normal (c4d.VARIATIONSHADER_BLENDMODE_NORMAL)
Replace (c4d.VARIATIONSHADER_BLENDMODE_REPLACE)
Average (c4d.VARIATIONSHADER_BLENDMODE_AVERAGE)
(c4d.VARIATIONSHADER_BLENDMODE_SEP)
Lighten (c4d.VARIATIONSHADER_BLENDMODE_LIGHTEN)
Add (c4d.VARIATIONSHADER_BLENDMODE_ADD)
Screen (c4d.VARIATIONSHADER_BLENDMODE_SCREEN)
Dodge (c4d.VARIATIONSHADER_BLENDMODE_COLORDODGE)
Linear Dodge (c4d.VARIATIONSHADER_BLENDMODE_LINEARDODGE)
Darken (c4d.VARIATIONSHADER_BLENDMODE_DARKEN)
Subtract (c4d.VARIATIONSHADER_BLENDMODE_SUBTRACT)
Multiply (c4d.VARIATIONSHADER_BLENDMODE_MULTIPLY)
Burn (c4d.VARIATIONSHADER_BLENDMODE_COLORBURN)
Linear Burn (c4d.VARIATIONSHADER_BLENDMODE_LINEARBURN)
Overlay (c4d.VARIATIONSHADER_BLENDMODE_OVERLAY)
Soft Light (c4d.VARIATIONSHADER_BLENDMODE_SOFTLIGHT)
Hard Light (c4d.VARIATIONSHADER_BLENDMODE_HARDLIGHT)
Linear Light (c4d.VARIATIONSHADER_BLENDMODE_LINEARLIGHT)
Vivid Light (c4d.VARIATIONSHADER_BLENDMODE_VIVIDLIGHT)
Pin Light (c4d.VARIATIONSHADER_BLENDMODE_PINLIGHT)
Hard Mix (c4d.VARIATIONSHADER_BLENDMODE_HARDMIX)
Reflect (c4d.VARIATIONSHADER_BLENDMODE_REFLECT)
Glow (c4d.VARIATIONSHADER_BLENDMODE_GLOW)
Phoenix (c4d.VARIATIONSHADER_BLENDMODE_PHOENIX)
Difference (c4d.VARIATIONSHADER_BLENDMODE_DIFFERENCE)
Invert (c4d.VARIATIONSHADER_BLENDMODE_NEGATION)
Exclusion (c4d.VARIATIONSHADER_BLENDMODE_EXCLUSION)
Levr (c4d.VARIATIONSHADER_BLENDMODE_LEVR)
Color (c4d.VARIATIONSHADER_BLENDMODE_COLOR)
Color Inverse (c4d.VARIATIONSHADER_BLENDMODE_COLOR_INV)
Parameter: Gradient
Parameter ID: c4d.VARIATIONSHADER_GRADIENT
Parameter Type:
c4d.Gradient
Parameter: Gradient Blend
Parameter ID: c4d.VARIATIONSHADER_GRADIENT_BLEND
Parameter Type: float
Parameter: Gradient Mode
Parameter ID: c4d.VARIATIONSHADER_GRADIENT_MODE
Parameter Type: int
- Cycle Values:
Normal (c4d.VARIATIONSHADER_BLENDMODE_NORMAL)
Replace (c4d.VARIATIONSHADER_BLENDMODE_REPLACE)
Average (c4d.VARIATIONSHADER_BLENDMODE_AVERAGE)
(c4d.VARIATIONSHADER_BLENDMODE_SEP)
Lighten (c4d.VARIATIONSHADER_BLENDMODE_LIGHTEN)
Add (c4d.VARIATIONSHADER_BLENDMODE_ADD)
Screen (c4d.VARIATIONSHADER_BLENDMODE_SCREEN)
Dodge (c4d.VARIATIONSHADER_BLENDMODE_COLORDODGE)
Linear Dodge (c4d.VARIATIONSHADER_BLENDMODE_LINEARDODGE)
Darken (c4d.VARIATIONSHADER_BLENDMODE_DARKEN)
Subtract (c4d.VARIATIONSHADER_BLENDMODE_SUBTRACT)
Multiply (c4d.VARIATIONSHADER_BLENDMODE_MULTIPLY)
Burn (c4d.VARIATIONSHADER_BLENDMODE_COLORBURN)
Linear Burn (c4d.VARIATIONSHADER_BLENDMODE_LINEARBURN)
Overlay (c4d.VARIATIONSHADER_BLENDMODE_OVERLAY)
Soft Light (c4d.VARIATIONSHADER_BLENDMODE_SOFTLIGHT)
Hard Light (c4d.VARIATIONSHADER_BLENDMODE_HARDLIGHT)
Linear Light (c4d.VARIATIONSHADER_BLENDMODE_LINEARLIGHT)
Vivid Light (c4d.VARIATIONSHADER_BLENDMODE_VIVIDLIGHT)
Pin Light (c4d.VARIATIONSHADER_BLENDMODE_PINLIGHT)
Hard Mix (c4d.VARIATIONSHADER_BLENDMODE_HARDMIX)
Reflect (c4d.VARIATIONSHADER_BLENDMODE_REFLECT)
Glow (c4d.VARIATIONSHADER_BLENDMODE_GLOW)
Phoenix (c4d.VARIATIONSHADER_BLENDMODE_PHOENIX)
Difference (c4d.VARIATIONSHADER_BLENDMODE_DIFFERENCE)
Invert (c4d.VARIATIONSHADER_BLENDMODE_NEGATION)
Exclusion (c4d.VARIATIONSHADER_BLENDMODE_EXCLUSION)
Levr (c4d.VARIATIONSHADER_BLENDMODE_LEVR)
Color (c4d.VARIATIONSHADER_BLENDMODE_COLOR)
Color Inverse (c4d.VARIATIONSHADER_BLENDMODE_COLOR_INV)
Parameter: Random Color
Parameter ID: c4d.VARIATIONSHADER_RANDOMCOLOROFFSET
Parameter Type: float
Parameter: Random Color Mode
Parameter ID: c4d.VARIATIONSHADER_RANDOMCOLOR_MODE
Parameter Type: int
- Cycle Values:
Normal (c4d.VARIATIONSHADER_BLENDMODE_NORMAL)
Replace (c4d.VARIATIONSHADER_BLENDMODE_REPLACE)
Average (c4d.VARIATIONSHADER_BLENDMODE_AVERAGE)
(c4d.VARIATIONSHADER_BLENDMODE_SEP)
Lighten (c4d.VARIATIONSHADER_BLENDMODE_LIGHTEN)
Add (c4d.VARIATIONSHADER_BLENDMODE_ADD)
Screen (c4d.VARIATIONSHADER_BLENDMODE_SCREEN)
Dodge (c4d.VARIATIONSHADER_BLENDMODE_COLORDODGE)
Linear Dodge (c4d.VARIATIONSHADER_BLENDMODE_LINEARDODGE)
Darken (c4d.VARIATIONSHADER_BLENDMODE_DARKEN)
Subtract (c4d.VARIATIONSHADER_BLENDMODE_SUBTRACT)
Multiply (c4d.VARIATIONSHADER_BLENDMODE_MULTIPLY)
Burn (c4d.VARIATIONSHADER_BLENDMODE_COLORBURN)
Linear Burn (c4d.VARIATIONSHADER_BLENDMODE_LINEARBURN)
Overlay (c4d.VARIATIONSHADER_BLENDMODE_OVERLAY)
Soft Light (c4d.VARIATIONSHADER_BLENDMODE_SOFTLIGHT)
Hard Light (c4d.VARIATIONSHADER_BLENDMODE_HARDLIGHT)
Linear Light (c4d.VARIATIONSHADER_BLENDMODE_LINEARLIGHT)
Vivid Light (c4d.VARIATIONSHADER_BLENDMODE_VIVIDLIGHT)
Pin Light (c4d.VARIATIONSHADER_BLENDMODE_PINLIGHT)
Hard Mix (c4d.VARIATIONSHADER_BLENDMODE_HARDMIX)
Reflect (c4d.VARIATIONSHADER_BLENDMODE_REFLECT)
Glow (c4d.VARIATIONSHADER_BLENDMODE_GLOW)
Phoenix (c4d.VARIATIONSHADER_BLENDMODE_PHOENIX)
Difference (c4d.VARIATIONSHADER_BLENDMODE_DIFFERENCE)
Invert (c4d.VARIATIONSHADER_BLENDMODE_NEGATION)
Exclusion (c4d.VARIATIONSHADER_BLENDMODE_EXCLUSION)
Levr (c4d.VARIATIONSHADER_BLENDMODE_LEVR)
Color (c4d.VARIATIONSHADER_BLENDMODE_COLOR)
Color Inverse (c4d.VARIATIONSHADER_BLENDMODE_COLOR_INV)
Parameter: Contrast
Parameter ID: c4d.VARIATIONSHADER_CONTRASTOFFSET
Parameter Type: float
Parameter: Gamma
Parameter ID: c4d.VARIATIONSHADER_GAMMAOFFSET
Parameter Type: float
Parameter: Invert
Parameter ID: c4d.VARIATIONSHADER_INVERTOFFSET
Parameter Type: float
Parameter: Hue
Parameter ID: c4d.VARIATIONSHADER_HUEOFFSET
Parameter Type: float
Parameter: Saturation
Parameter ID: c4d.VARIATIONSHADER_SATURATIONOFFSET
Parameter Type: float
Parameter: Lightness
Parameter ID: c4d.VARIATIONSHADER_LIGHTNESSOFFSET
Parameter Type: float
Parameter: UVW Shift
Parameter ID: c4d.VARIATIONSHADER_UVW_SHIFT
Parameter Type:
c4d.Vector
Parameter: UVW Flip X
Parameter ID: c4d.VARIATIONSHADER_UVW_FLIP_X
Parameter Type: bool
Parameter: UVW Flip Y
Parameter ID: c4d.VARIATIONSHADER_UVW_FLIP_Y
Parameter Type: bool
Parameter: UVW Tile Offset X
Parameter ID: c4d.VARIATIONSHADER_UVW_TILE_OFFSET_X
Parameter Type: float
Parameter: UVW Tile Offset Y
Parameter ID: c4d.VARIATIONSHADER_UVW_TILE_OFFSET_Y
Parameter Type: float
Parameter: UVW Rotate
Parameter ID: c4d.VARIATIONSHADER_UVW_ROTATE
Parameter Type: float
Parameter: UVW Quantize Rotation
Parameter ID: c4d.VARIATIONSHADER_UVW_ROTATE_QUANTIZE_GROUP
Parameter Type: int
- Cycle Values:
0 Degrees (c4d.VARIATIONSHADER_UVW_ROTATE_QUANTIZE_0)
45 Degrees (c4d.VARIATIONSHADER_UVW_ROTATE_QUANTIZE_45)
90 Degrees (c4d.VARIATIONSHADER_UVW_ROTATE_QUANTIZE_90)
180 Degrees (c4d.VARIATIONSHADER_UVW_ROTATE_QUANTIZE_180)
Parameter: UVW Scale
Parameter ID: c4d.VARIATIONSHADER_UVW_SCALE
Parameter Type:
c4d.Vector
Parameter: Clamp One
Parameter ID: c4d.VARIATIONSHADER_CLIPONE
Parameter Type: bool