Skip to content

ShaderSources

const ShaderSources: object

Defined in: material.ts:673

Built-in ES 3.0 shader sources for SDK custom materials. These use the batch renderer vertex layout (vec3 position + vec4 color + vec2 texCoord) and are NOT duplicates of the .esshader files (which are ES 1.0 with different layouts).

COLOR_FRAGMENT: string

COLOR_VERTEX: string

SPRITE_FRAGMENT: string

SPRITE_VERTEX: string