- Home /
How to make parts of a model invisible?
Is it possible make some parts of a model invisible? I want to create something similar to this (at 1:03). If you slide a plane over a model the part above the plane should be invisible so you can see inside the model. Do you know any tips or where to find some help?
Answer by jimmy12day · Dec 19, 2017 at 01:17 AM
First, you will need create a minimap(Create a UI raw image and text render martial, set camera as the source of the textrenderer, assign the text render to the UI raw image) ;
Second, set the canvas in world space view.
Find some model and you can play with the model by moving the up down across the model, this part is fun and you should try yourself.
For your convenience and to learn, I upload a prototype to github and you can try my prototype. Github_Link
Answer by JPhilipp · Dec 18, 2017 at 07:18 PM
The Clip function of Shaders may help you, as it can visually slice through meshes. Search for "clip()" in these examples.
Though, in the video they not only cut a hole but also "fill up" the intersection quad with the color of what is cut (so it looks like you have actual bone material and so on), so it might be more complicated. $$anonymous$$akes you wonder if they cut the actual mesh in realtime, like here.
Your answer
![](https://koobas.hobune.stream/wayback/20220612144821im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mesh Collidor Faster 1 Answer
Smoothing edges of a mesh 2 Answers
Importing Blender mesh to Unity 2 Answers
How to change animations direction? 0 Answers