- Home /
Magnifying Trigger/Shader
I'm trying to create a texture where when a object goes past the texture it's magnified, think of a giant Magnifying Glass. How would I go about doing this that's efficient? Do I create a Shader or do I make a trigger script?
Comment
I think a shader would be the most efficient way. I imagine it would be a matter of testing if the object being rendered is 'under the microscope', modifying the verts that we accordingly, and throwing out the ones that are beyond the extents of the 'glass'.
Your answer
![](https://koobas.hobune.stream/wayback/20220613091530im_/https://answers.unity.com/themes/thub/images/avi.jpg)