Not working yet. only the rotation of the camera change the colors. I need that when i am on a specified place it would color different the model than on another position.
EDIT:
I thought about it and I may didn't explained myself well. i need to detect if i pass a line from the triangle to the camera, would be there any other triangles in the way.
EDIT:
I thought about it and I may didn't explained myself well. i need to detect if i pass a line from the triangle to the camera, would be there any other triangles in the way.