I need to view my object only through the wall (and this object must has his original material).

I tried to use CustomDepth - SceneDepth on Opactiy in material of the wall to do transparent place on the material behind which I can see this object. But this object also visible if it's not occluded by this wall. How can I hide object in this case?

Usecase of this: a spatial crack from where creatures attack a player.

P.S. I use Forward Shading and VR with UE4


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.