Search the Community
Showing results for tags 'functionality'.
Found 1 result
I've been experimenting with the ability to use the opacityTexture with materials. And I have a couple of questions. First, what is the functionality of the opacityTexture in BJS. In the PG demo of fire, it appears to be acting as an alpha map that gives a general shape of the flame. Candle stick However, when I try to use the same flame and alpha map on a simple plane in a playground - I just get the square image of fire Simple plane Why? Does the use of .opacityTextures require the fireMaterial script? If it does, that is not indicated in the docs. Secondly, I tried using the same two textures in Blender - see result below. A simple plane has one material with two textures - flame and opacity.- and as you can see both have an impact on what is rendered. However, when I export the plane to .babylon I get this curious comment: Looking at the .babylon file the material only contains the flame texture - no reference at all to the opacity texture used. What does that mean? And how do I export these alpha map textures from Blender ? Edit: I have the opacity texture exporting now by changing the value of the "alpha" in image below to 1. But I still get the warning message and the result viewed in the sandbox is just the square plane with the flame texture cheers, gryff