I would like to display a transparent png over what is rendered.
For example, if I want to simulate to be in a car, at the bottom’s screen’s edge, I would find the dashbord, on the sides, I would have the visible parts of the windshield of the car, and at the top the mirror.
And in the center, it will be my 3D scene.
And this picture should be static, and never move or change, even if my camera move…
Is it possible to display such picture ?
Searching about that, I found this : StarFighter, but all the edges (cockpit) are made using babylon.js engine.
I search the same example, but using a static transparent picture.
Thanks for all your great examples. It’s a real pleasure working with this engine
Jean-Pierre
Thanks for your answer, and for yours examples you share. Your StarFighter is very interesting…
I think you are right, LayerMask and multi camera is a part of the solution…
I was thinking about something simpler, but what you provide seems much more powerfull.
And how to load transparent picture/png ? I saw a solution using SpriteManager, but do you have something simpler ?
Many other GUI “controls” are available to be placed-upon that ‘AdvancedTexture’, too. You could actually create REAL CONTROLS for each one on the picture. BabylonJS GUI… could make the image come-alive, if wanted. Hope this helps.