When creating the ImageSelector script, we discussed the importance of creating a feedback mechanism to help the user determine which object is being viewed. In the script, we created a public variable called hilightMaterial but, at that time, we had not defined a material to be used. The following steps outline the creation process:
- Choose Create | Material in the Project window menu.
- Rename the material Highlight.
- Choose a color with high contrast as your highlight. A high-contrast color makes it easier to tell which object is being gazed upon. If you background image is dark, select something very bright and vice versa. I prefer colors in the bright-orange spectrum because they often pop on light or ...