The ground looks green because the normal is pointing in the y direction so (0,1,0). Plugging that in we see green. The +.5 is to ensure all the values we are visualizing are positive.
Please log in to leave a comment.
The ground looks green because the normal is pointing in the y direction so (0,1,0). Plugging that in we see green. The +.5 is to ensure all the values we are visualizing are positive.