Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Harroy11 |
I would like the capsules to always appear to be on top of the plane, no matter how my camera is looking at the scene.
This can happen when shader of one of the meshes uses some custom DEPTH calculation. How is the plane mesh handled ? Did You try to place it slightly lower on Y axis, so object position is lower than Player and enemy ?
Inces | 2022-09-06 16:43
Yes, it did not work.
Harroy11 | 2022-09-06 21:29
Are they just materials with coloured albedo, or are they custom shaders ?
Inces | 2022-09-07 14:26
Just a colored albedo.
Harroy11 | 2022-09-07 15:57
sorry, I don’t know what is causing this. You can cheat it by marking depth test
to never ( one of flags in material properties ). This will prevent objects from ever being obturated by anything.
Inces | 2022-09-07 17:21