Hans Posted January 23, 2017 Share Posted January 23, 2017 Hi, is it possible to make a sprite visible through the walls/meshes/other Sprites? Is it possible to make it visible always? PlayGround: http://www.babylonjs-playground.com/#1MJ5GH Its important because if the player is behind something he have to be visible. Also aims/marks in a labyrinth should be visible always. Thank Quote Link to comment Share on other sites More sharing options...
jerome Posted January 23, 2017 Share Posted January 23, 2017 material with alpha ? http://www.babylonjs-playground.com/#1MJ5GH#1 Quote Link to comment Share on other sites More sharing options...
Hans Posted January 23, 2017 Author Share Posted January 23, 2017 the problem: i dont want set alpha the whole world. maybe there is something like a layer system and i can say: "always on top"? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 23, 2017 Share Posted January 23, 2017 Yep this is possible. Just set your spriteManager.renderingGroupId = 1 (or greater) More about renderingGroupID:http://doc.babylonjs.com/tutorials/Transparency_and_How_Meshes_Are_Rendered#rendering-groups Hans 1 Quote Link to comment Share on other sites More sharing options...
Hans Posted January 23, 2017 Author Share Posted January 23, 2017 exactly what i want, thanks a lot 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.