Dad72 Posted December 6, 2014 Share Posted December 6, 2014 (edited) Hi, I test the procedural textures and it's really cool and simple. I think this can not be simpler. But there is something that makes me think of a bug. FireProceduralTexture on the black parts should not be transparent? playground:http://www.babylonjs-playground.com/#H9LS0 Thanks DK and Etienne, This V2 gonna be awesome. (ca vas tout déchirer ) Edited December 6, 2014 by dad72 Wingnut 1 Quote Link to comment Share on other sites More sharing options...
davrous Posted December 6, 2014 Share Posted December 6, 2014 Well, this is done by one of our new team member named Etienne. We're pretty proud of him. Lot of cool features will land in V2! David Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 6, 2014 Author Share Posted December 6, 2014 Welcome to your new member Etienne team. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 6, 2014 Share Posted December 6, 2014 We are still working on improving the API. ANd you're right black part must be transparent Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 7, 2014 Share Posted December 7, 2014 Hello, Thx for your feedback!This is really a good idea i'm going to work on that alpha thing Etienne / Meulta Dad72 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 12, 2014 Author Share Posted December 12, 2014 Hello, I saw in the playground, the transpaprence of FireProceduralTexture() is manage with "material.opacityTexture = texture;" but I find the result not very clear. see on this demo:http://www.babylonjs-playground.com/#H9LS0#1 Thanks Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 12, 2014 Share Posted December 12, 2014 Hello, By "not very clear" do you mean that it is not "shiny" enough ? I'll be happy to make it better Meulta Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 12, 2014 Author Share Posted December 12, 2014 made it darkened the texture. (je veux dire que cela assombrit la texture quand on utilise opacityTexture pour avoir la transparence) see the difference: http://www.babylonjs-playground.com/#H9LS0#2 Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 12, 2014 Share Posted December 12, 2014 Ok I am going to add an alphaThreshold property on the FireProceduralTexture to make you capable of saying : "I want to activate alpha on a specific pixel only when it hits a specific level of luminance". Stay tuned, I will keep you updated when it is available and you will be able to give me feedbacks. Meulta Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 19, 2014 Author Share Posted December 19, 2014 Hello Meulta, I comes to news about alphaTreshold property for the FireProceduralTexture. Thanks Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 19, 2014 Share Posted December 19, 2014 Hello dad72, This is now available. You have a alphaThreshold (number between 0.0 and 1.0) property available in the FireProceduralTexture like in the sample here : http://www.babylonjs-playground.com/#1ERYAL0.5 is the default value. smaller value will make the texture more opaquebigger value will make the texture more transparent Is it better? Meulta Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 19, 2014 Author Share Posted December 19, 2014 Hi, I see you still use opacityTexture which makes less vivid image. In fact I just saw the normal texture without opacityTexture and implement transparent, this which is black, but maybe it is not technically possible. i dunno. See the difference between the two. a is more fade:http://www.babylonjs-playground.com/#H9LS0#3 Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 21, 2014 Share Posted December 21, 2014 Hello, You can use the diffuseTexture property and set the hasAlpha on the texture. It will look like this : http://www.babylonjs-playground.com/#H9LS0#5 is it more what you want ? Meulta Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 21, 2014 Author Share Posted December 21, 2014 Hi, Yes, that's what I wanted. but the upper part of the image still has black, why? This is much better, but how to make the black part of the top of image also transparent? http://www.babylonjs-playground.com/#H9LS0#6 Thank you Meulta Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 23, 2014 Share Posted December 23, 2014 Good we are making progression here I will take a look at why the black on the top is not transparent asap ! Meulta 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.