Hello. I followed this video on how to get highlights working on my game. It uses the custom depth buffer to achieve the highlight.
I got the results I wanted in my project. When I mouse over the object, it highlights as expected.https://puu.sh/AZshQ/c896bbda09.jpg
But when I packaged my project, the object is fully covered by the highlight color.
http://puu.sh/AZsjs/64fbca4620.jpg
This is the material script I have.
http://puu.sh/AZsgt/38c4c5dbbb.jpg
I have no clue why this would differ. And I don’t know where to start.