kurhlaa Posted December 17, 2017 Share Posted December 17, 2017 Hi, Is there a way to render a part of 2D image on the screen with fixed position? Like in CSS we have position: fixed, position.left and position.top. I would like still to be able to use babylon.js options vOffset, uScale and wAng, like for textures, to move a visible part of the image. I could use a Plane with a texture, but I don't see an option to disable texture's repetition. Also I don't see a way to place it where I need on the screen with needed width/height. And still.. I need to disable lighting for it, set emissiveTexture, etc. So maybe there is a cleaner way to do this? Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted December 17, 2017 Share Posted December 17, 2017 Hi @kurhlaa I think the babylon GUI will help you there, http://doc.babylonjs.com/how_to/gui#image Quote Link to comment Share on other sites More sharing options...
kurhlaa Posted December 17, 2017 Author Share Posted December 17, 2017 @aWeirdo, I would like to avoid additional included scripts, as at the moment I need to show only 1 image Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.