Christoph Posted August 17, 2017 Share Posted August 17, 2017 After experimenting with u/v scales and offsets (I want to use planes for sprites in my project), I notices that you cannot use any alpha on your emissive textures, the background will be black: Quick Demo, swap the emissiveTexture to diffuse Texture and the Alpha works: http://www.babylonjs-playground.com/#2H7BP8#68 According to the documentation this should work however ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 17, 2017 Share Posted August 17, 2017 Nope this is not supported. Alpha can be read from diffuse or opacity texture: https://www.babylonjs-playground.com/#2H7BP8#70 Quote Link to comment Share on other sites More sharing options...
Christoph Posted August 17, 2017 Author Share Posted August 17, 2017 Ah I see, so the solution is to add the texture as additional opacity texture. 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.