Home
API reference

ShaderChunks

strata-game-library/shaders

strata-game-library/shaders


strata-game-library/shaders / ShaderChunks

Variable: ShaderChunks

const ShaderChunks: object

Defined in: materials/index.ts:12

Inline shader chunks to avoid external dependency These provide reusable GLSL snippets for common operations

Type Declaration

animation

animation: object

animation.time

time: string

color

color: object

color.gradient

gradient: string

color.palette

palette: string

effects

effects: object

effects.hologram

hologram: string

effects.scanline

scanline: string

lighting

lighting: object

lighting.fresnel

fresnel: string

lighting.rim

rim: string

lighting.toon

toon: string

noise

noise: object

noise.rand

rand: string