I’m having an issue with a model exported from Blender 2.8.
Essentially, I’m changing the mesh’s alpha based on distance from camera. This worked as expected with standard materials and Blender 2.7.
However, when I export the model from 2.8, the texture, not the mesh is changing the alpha! The model stays opaque.
This is the code snippet:
this.matHull = scene.getMeshByName("hull").material; ... this.matHull.alpha = alpha; // alpha is based on distance to camera
What am I doing wrong?