loadShaderURL(name: string | null, vert?: string, frag?: string): Asset

Load a shader with vertex and fragment code file url.

sincev3000.0

// load only a fragment shader from URL
loadShader("outline", null, "/shaders/outline.glsl", true)
kaplay logo

3001.0.0-alpha.18

Misc