pixi-extra-filters
pixi-extra-filters copied to clipboard
SimpleLightmapFilter can't be used . There are many error in shader.
WARNING: 0:11: '=' : global variable initializers should be constant expressions (uniforms and globals are allowed in global initializers for legacy compatibility)
ERROR: 0:18: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'const int' and a right operand of type 'uniform mediump float' (or there is no acceptable conversion)
ERROR: 0:18: '' : methods supported in GLSL ES 3.00 and above only
ERROR: 0:18: 'toFixed' : invalid method
ERROR: 0:18: ')' : syntax error
Uncaught TypeError: Failed to execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'. at n (pixi.min.js:8) at e.a (pixi.min.js:8) at new e (pixi.min.js:10) at e.applyFilter (pixi.min.js:13) at SimpleLightmapFilter.t.apply (pixi.min.js:13) at e.popFilter (pixi.min.js:13) at e.renderAdvancedWebGL (pixi.min.js:10) at e.renderWebGL [as containerRenderWebGL] (pixi.min.js:10) at e.renderWebGL (pixi-display.js:50) at e.renderAdvancedWebGL (pixi.min.js:10)