Hello friends!
I’m looking for a way to create my own version of Apple’s magnifying glass, the one that pops up when you hold your finger on text. It is basically a circle that pops up next to your finger which is a camera that shows exactly what is below your finger.
I’ve been looking for a way to make a normalized camera round, but Unity doesn’t appear to give me that option. I’ve heard that a custom shader might be able to help me, but I am not able to program them.
Does anyone have a solution for me? Thanks!!
-Adrian
Try looking at the bootcamp demo and how they do the radar system. Open up the default scene, and under “_GameManager” in the hierarchy view look at the “Radar” object.
Wow, that is some unexpected technique! Thanks - I’ll look into it!
Can’t get it to work like in the demo.
Used their shader on the same model with the same camera, but I can’t figure out what to do with the culling mask of the camera. If I leave it on their layer, ‘Unnamed 18’, it doesn’t display anything, and if I put it to default, it won’t be a circle. Or in other words: It’s not a circle in any case…
What am I missing?!
EDIT: Figured it out!! All materials you want to be hidden should not use the default diffuse shader but the Transparent/Diffuse shader!
Thanks Llama!