0 votes

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.

The scene with the blue capsule appearing behind the plane.

How the scene looks normally

Godot version 3.5
in Engine by (12 points)

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 ?

Yes, it did not work.

Are they just materials with coloured albedo, or are they custom shaders ?

Just a colored albedo.

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.