Dad72 Posted September 23, 2014 Share Posted September 23, 2014 I do not know why I have a hole in my clouds. I use the same texture as that found in Babylon, here Test This way less here, but you can see some artifact on each sprite On my project it is still more obvious : An idea of who could produce it this? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 23, 2014 Share Posted September 23, 2014 Sprites are using alphatesting and not alphablending you should use this kind of technique:http://www.babylonjs.com/Scenes/Clouds/index.html Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 23, 2014 Author Share Posted September 23, 2014 I had to try this type of technique but I do not manage a good result because depending on where the camera looked at the result was pretty bad, so I use the sprite possible to always have the cloud that looks at the camera. How can I use alphatesting the sprite? I do not see where I use alphablending. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 23, 2014 Share Posted September 23, 2014 Basically sprites are using alphatesting and there is no way to use alphablending instead you can use meshes with billboard I think Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 23, 2014 Author Share Posted September 23, 2014 The advantage of sprites is that still face the camera without additional code. but with the last correction you made, I'm just little spots that I do not yet understand. It's probably because of the texture with opatity and what you are talking alphatesting and blending. Thanks 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.