API

Class ShaderSpecialParts

Parts of a shader

Index
Fragment_Before_Fog: string

Before fog computations

Fragment_Before_FragColor: string

Before frag color is assigned

Fragment_Before_Lights: string

Before lightning computations

Fragment_Begin: string

Beginning of the fragment shader

Fragment_Custom_Alpha: string

Alpha calculations

Fragment_Custom_Diffuse: string

Diffuse color calculation

Fragment_Definitions: string

Variable definitions of the fragment shader

Fragment_MainBegin: string

Beginning of the fragment main function

Fragment_MainEnd: string

End of the fragment main function

Vertex_After_WorldPosComputed: string

After the world position has been computed

Vertex_Before_NormalUpdated: string

Before the normal computation

Vertex_Before_PositionUpdated: string

Before the world position computation

Vertex_Begin: string

Beginning of the vertex shader

Vertex_Definitions: string

Variable definitions of the vertex shader

Vertex_MainBegin: string

Start of the main function of the vertex shader

Vertex_MainEnd: string

Main end of the vertex shader