roman_44 Posted January 18, 2016 Share Posted January 18, 2016 Hi. I think it should be very easy, but cannot find obvious solution. I need to put small logo (small png picture) at the corner of the canvas. And I wanna use scene, not css or html, because it is kinda watermark. I tried: mesh.position.z = 10; mesh.parent = camera; but it is not working properly on screen resize. Looks like bGUI only one way to achieve that? After look at the example code I tried something like this: var logoTexture = new BABYLON.Texture('testpicture.png', scene); var gui = new bGUI.GUISystem(scene, engine.getRenderWidth(), engine.getRenderHeight()); var logo = new bGUI.GUIPanel('bgui', logoTexture, null, gui); logo.relativePosition(new BABYLON.Vector3(0.5, 0.5, 0)); But this gives me nothing on the screen with no errors. Need your help... Thank you! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.