LitShader Module
Embedded GLSL shaders for the built-in lit-sprite pipeline with SDF shadow raymarching.
Functions and values
| Function or value |
Description
|
Full Usage:
fragmentSource
Returns: string
|
|
Full Usage:
fragmentSourceNormalMap
Returns: string
|
Fragment shader variant for normal-mapped sprites.
Uses a 2D-compatible Half-Lambert lighting model where
|
|
|
Full Usage:
vertexSource
Returns: string
|
|
Mibo