Skip to main content

basic (simple)


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

DescriptionOptionsDescriptionOptionsDescriptionOptionsDescription
NameCustom
$null
$base0
$base1
$base2
$base3
$base4
$base5
$base6
$base7
TransformCustomProgrammable
TCMScale 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
BlendingSETSimple color change (no blending)
BLENDStandard Alpha Blending (SRCALPHA, INVSRCALPHA)
ADDAdditive Overlay (ONE, ONE)
MULColor multiplication (DESTCOLOR, ZERO)
MUL_2XMultiplication with brightness doubling (DESTCOLOR, SRCCOLOR)
ALPHA-ADDAdditive 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 clampParameter that controls the method of texture overlay outside the standard texture coordinates [0, 1]-
Alpha refParameter that defines the transparency threshold value when using Alpha Test in rendering-
Z-testEnables the process of comparing the depth (Z-coordinate) of the current pixel with the corresponding value in the Z-buffer (depth buffer)-
Z-writeEnables whether to allow or disallow the Z-buffer to be updated after passing the Z-test-
Lighting-
Fog-