Hi,
I have just implemented a search function in my app which returns a list of objects in the scene. What I have done so far in order to see them is just changing their color to red, which is far from being esthetic or practical.
I would like to use an image effect / set of shaders / script similar to the one used when searching the scene view :
- Objects which do not match the search are rendered in grayscale.
- Objects which match the search have their directly visible parts rendered normally, but their occluded parts are rendered in blue and in front of the occluders.
I would like to know if it is a built-in effect / script / shader in order not to reinvent the wheel.
Thanks !
EDIT : Added some images
The cube matches the search.
The cube is partially hidden by a wall in the game view.
This is what I’d like to see in the game view, but I can only achieve that in the scene view.