You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2019. It is now read-only.
So the GlowFilter seems to be crashing webGL, the CPU zips up to 100% (which normally isnt enough to hang the laptop) but it isnt until webGL actually craps out that the lappy is usable again.
var stage = new PIXI.Container()
var sprite = new PIXI.Sprite.fromImage( 'apple2.png' )
sprite.position.set( 0, 0 )
stage.addChild( sprite )
var glow = new PIXI.filters.GlowFilter( WIDTH, HEIGHT, 15, 2, 1, 0xFFFFFF, .5 )
stage.filters = [ glow ]
setInterval( () => {
renderer.render( stage )
}, 1000 / 60 )
MacBook Pro Retina mid 2014
Mac OSX 10.11.1
GeForce GT 750M 2048MB or Intel Iris Pro 1536MB
Chrome Version 47.0.2526.73 (64-bit)
Only log is WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost but I think thats after I've tabbed out of Chrome.
@finscn - just ran into this problem.
If you look at the source code, it doesn't appear that the glowFilter uses the renderer width/height any more. I dropped out the first two arguments and the filter worked as expected.
Hey,
So the GlowFilter seems to be crashing webGL, the CPU zips up to 100% (which normally isnt enough to hang the laptop) but it isnt until webGL actually craps out that the lappy is usable again.
MacBook Pro Retina mid 2014
Mac OSX 10.11.1
GeForce GT 750M 2048MB or Intel Iris Pro 1536MB
Chrome Version 47.0.2526.73 (64-bit)
Only log is
WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
but I think thats after I've tabbed out of Chrome.Chrome gpu data:
The text was updated successfully, but these errors were encountered: