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
I get some strange bug here , but i don't know where to start for fix this!?
Any ideas are welcome.
If i set normal alpha 0 to a sprite, when hover the BG Clouds (TilingSprite), it render black !
someone would have an idea of what's going on here and why logically this code does not work?
createBackground(){this.clearBackground();constdataObj=$objs.BACKGROUND[this._name];if(dataObj){constC=this.background=$objs.createFrom(dataObj);C.child.zOrder=-1;C.child.parentGroup=$displayGroup.group[0];this.addChildAt(C.child,0);this._sceneWidth=C.child.width;this._sceneHeight=C.child.height;//!extra tilling repeat BG: experimental//FIXME: normal see not render correcly hover TilingSpriteconstdataBase=$loader.DATA2.Tilling1;consttilingSprite=newPIXI.extras.TilingSprite(dataBase.textures.cloud1,$app.screen.width,$app.screen.height);//tilingSprite.alpha = 0.2;tilingSprite.parentGroup=$displayGroup.DiffuseGroup;// BUG, TilingSprite GET BLACK$stage.addChildAt(tilingSprite,0);}};
The text was updated successfully, but these errors were encountered:
Also i dong guarantee anything about blendModes in case you use pixi-lights. Of course if you set normal to 0 any lights will fail, except Ambient. You need to put it under those layers, not to diffuse!
ho sorry , i was thinking it can be related to tilingSprite.
I mean I'm trying to find a way to allow sprites diffuse to fly over the limits of the PIXI application.
I thought filling the background of the application with tilingsprite would work.
I get some strange bug here , but i don't know where to start for fix this!?
Any ideas are welcome.
If i set
normal
alpha 0 to a sprite, when hover theBG Clouds (TilingSprite)
, it render black !someone would have an idea of what's going on here and why logically this code does not work?
The text was updated successfully, but these errors were encountered: