So I've only found one other question on unity answers which has asked a similar question however didn't find the correct answer.
So what im looking for is a way in while i can send an object (mainly Large) through a portal and where ever the face of the portal touches the object, a partition of the object will be invisible. I've got an image of what i mean down below if you can't understand what im saying.
I'm guessing there must be multiple ways of doing this and simply looking to see if anyone's knows how to create the effect of this, hopefully not faked but if it comes down to thats the only way ,then ill look into it.
Thanks so much for any help even if its links to sources
oh and if it comes to needing a shader would be awesome if you could link me to where i could fined out more.
Answer by TAImatem
Apr 18 at 06:18 AM
Try searching "slice plane", "slicer", "cross section" This looks like something you want https://forum.unity3d.com/threads/the-open-cross-section-project-pbr-shaderforge.399174/#post-2606160
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
131 People are following this question.
What is the difference between Semantic POSITION and SV_POSITION both
How to get the bone transform matrix in the vertex shader?
How can I make this custom shader support shadows?
How to correct texture mapping on arbitrary quadrilaterals ?
How to use shader to control the rendering of each text character(letter)? Or, how to correctly pass custom data into vert/frag?