Behind Shader/Material?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MikeMikeMike

Hi…,

is there a “Behind Shader/Material” for Godot around?

Thanks

Mike

:bust_in_silhouette: Reply From: klaas

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.

Hi klaas,

great, this works as I wanted.

Thank you very much, and all the best

Mike

MikeMikeMike | 2021-08-16 18:24