Search the Community
Showing results for tags 'flicker'.
-
Strange flickering on a glTF mesh with DefaultEnvironment www.babylonjs-playground.com/#T7A2L7#3
- 5 replies
-
- environment
- normals
-
(and 5 more)
Tagged with:
-
Hy y'all, the texture of the box flickers when i move the camera around, but i still want the box to overlap how can i fix this? https://www.babylonjs-playground.com/#03C60U
-
If I do this: h = game.add.sprite(0,0, "hospital");h.x = 49900 - h.width;h.y = findGround(h.x + h.width) - h.height + hospitalOffset * 0.5; The sprite will display at 0,0 (top-left of the screen... ignoring the camera location) as a brief flicker before moving to the correct location.I'm guessing this is down to some precalculated transforms which aren't updated by the x,y setters.What function should I call to recalculate the transform to prevent this flicker? (Notice that I can't position it directly because I need the width and height of the sprite which aren't available until after it's been created)