How to put fog on 3d text

I want to put fog on text in 3d, but there is no material on text elements to enable fog.

When you say ‘fog’, do you mean this?

If so, this is probably because of the default UI material and shader set on the Element.

To get around this, you would need to use the private API to change the material to one that you’ve created/clone the text material and change it so that fog affects it instead

I have an example of changing the text material here: Rendering UI elements infront of mesh in 3D space - #7 by yaustar

1 Like