I have a black and white texture. I need for opacityTexture (StandardMaterial) the inverted version from the image. How can i achieve this? =)
You can’t do it with the standard material (except by updating the texture data after loading), but it can easily by done with a node material.
1 Like
Oh cool. Thank you. Do you have a sample?
You can use: https://nme.babylonjs.com/?#AT7YY5#13
I have simply took the material referenced here and added two “OneMinus” blocks in the “Opacity” frame.