Closed kavandos closed 4 years ago
I there a way to make it work both with Color and Rotate?
P.S. CanvasRenderer
I guess you use both Proton.Body
and Proton.Color
in CanvasRender
. Oh, painting a picture in canvas is a lossy performance operation. Proton uses the canvas cache buffer for painting pictures, so this case does not support simultaneous effect. You can use webgl instead.
In fact, for most practical projects you do n’t need to color a picture
thanks, switched to WebGLRenderer
Looks like WEBGLRenderer doesn't clear it self by default
I use rotate and it works fine
emitter.addBehaviour(new Proton.Rotate( new Proton.Span(0, 360), 2, "to" ));
but once I add Color, Rotate stops working