Godot Version
4.5 - Mobile rendering.
Question
I’m looking for advice on which way to start approaching this.
I’m trying to make an xray vision style effect where my first person character can see through SOME 3d object, but not others. I don’t want the entire object to turn invisible or fade, but rather just the part that is being looked at. For example:
The camera is looking at the top corner of the green cube, and you can see the purple cube on the other side. If the camera moves to the left, the see-through part will move with it.
I feel like perhaps an ALPHA material position parameter could be moved around based on a raycast, or maybe trying to get the camera direction into the shader etc.. (but not sure if these are possible at all)
Advice appreciated
