Closed Mercadud closed 3 years ago
update: I think it depends on which direction you look at the object it rebecomes visible depending on which angle you look at it. might be because of the surrounding objects tho
I believe this is as expected. The lava is being rendered as a transparent object, to be able to do depth effects. so if you want transparent objects to display correctly in front of it you'll have to check "Depth Draw Mode -> Opaque Pre-Pass" on the material. Or if it's a custom shader, add the "depth_draw_always" render_mode.
changing the Depth Draw Mode to Opaque Pre-Pass on the object in front doesn't seem to have the desired effect.
You might have to set the render priority of your transparent material to something higher that 0 for it to render in front of the lava as well.
ok perfect that works, for the people that are having the same issue:
Describe the bug Inability to see transparent objects in front of Water/Lava
To Reproduce Steps to reproduce the behaviour:
Expected behaviour the transparent mesh is supposed to show as expected, transparent
Screenshots expected (view from editor): current issue (in-game):
Environment
thanks in advance