Material + Custom Shader

Godot Version

4.3

Question

Hi!

I am building a map out of 3D-Tiles.
These tiles already have a texture.
I have written a shader that does not render pixels if they occlude the player.


If i apply this shader the original material is not used anymore.

What would be the best way to combine the texture and my shader?
Do I have to costumize my shader to do both tasks or is there a better way?

Thanks for the help!