diff --git a/src/ts/graphics/webgl/shader.ts b/src/ts/graphics/webgl/shader.ts index ea21d81..7131e2d 100644 --- a/src/ts/graphics/webgl/shader.ts +++ b/src/ts/graphics/webgl/shader.ts @@ -79,7 +79,8 @@ export class Shader { uniforms[info.name] = gl.getUniformLocation(program, info.name); if (!uniforms[info.name]) { - throw new Error(`Failed to get uniform location (${info.name})`); + console.error(`Failed to get uniform location (${info.name})`); + continue; } if (info.type === gl.SAMPLER_2D) {