basic (simple) Shader Type
About
A basic shader, with a wide range of features. Supports transformation, different types of blending, adjusting the effect of lighting on it and Z-buffering. Used for most effects, such as glow
Base Texture
Options | Description | Options | Options | Description | |
---|---|---|---|---|---|
Name | Custom | ||||
$null | |||||
$base0 | |||||
$base1 | |||||
$base2 | |||||
$base3 | |||||
$base4 | |||||
$base5 | |||||
$base6 | |||||
$base7 | |||||
Transform | Custom | Programmable | |||
TCM | Scale enabled | ||||
Scale U | |||||
Scale V | |||||
Rotate enabled | |||||
Rotate | |||||
Scroll enabled | |||||
Scroll U | |||||
Scroll V | |||||
Spherical Reflection | |||||
Cube Reflection | |||||
$null | |||||
$base0 | |||||
$base1 | |||||
$base2 | |||||
$base3 | |||||
$base4 | |||||
$base5 | |||||
$base6 | |||||
$base7 | |||||
Blending | SET | Simple color change (no blending) | |||
BLEND | Standard Alpha Blending (SRCALPHA, INVSRCALPHA) | ||||
ADD | Additive Overlay (ONE, ONE) | ||||
MUL | Color multiplication (DESTCOLOR, ZERO) | ||||
MUL_2X | Multiplication with brightness doubling (DESTCOLOR, SRCCOLOR) | ||||
ALPHA-ADD | Additive overlay with alpha channel (SRCALPHA, ONE) | ||||
MUL_2X (B^D) | Multiplication 2X + Alpha Test (used for decals) | ||||
SET (2r) | Two-pass SET | ||||
BLEND (2r) | Two-pass BLEND | ||||
BLEND (4r) | Four-pass BLEND | ||||
Texture clamp | - | Parameter that controls the method of texture overlay outside the standard texture coordinates [0, 1] | |||
Alpha ref | - | Parameter that defines the transparency threshold value when using Alpha Test in rendering | |||
Z-test | - | Enables the process of comparing the depth (Z-coordinate) of the current pixel with the corresponding value in the Z-buffer (depth buffer) | |||
Z-write | - | Enables whether to allow or disallow the Z-buffer to be updated after passing the Z-test | |||
Lighting | - | ||||
Fog | - |