0 votes

Hi...,

is there a "Behind Shader/Material" for Godot around?

Thanks

Mike

enter image description here

Godot version 3.3.2.stable
in Engine by (99 points)
edited by

1 Answer

+2 votes
Best answer

Hi,
you can make two passes with a material where the "no depth test" is set.

Make a Material check "unshaded", set "no depth test" and check "transparent". Set "render priority" to -1.
Make a new material in "Next pass". Check "transparent". Set the rest of the material as you like.

by (3,932 points)
selected by

Hi klaas,

great, this works as I wanted.

Thank you very much, and all the best

Mike

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 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 webmaster@godotengine.org with your username.