Archived

This topic is now archived and is closed to further replies.

jmoses

Finding the color of a point that intersections a polygon with colors

Recommended Posts

jmoses    122
I asked a simular question like this about a month ago when I was using lightmaps, but now that the lighting in my game got bumped down to vertex lighting, I have to find a new solution to my lighting problem, so here it is: Lets say I have a triangle, and every vertex of that triangle has a color applied to it, if I know an intersection point of that triangle, How would I find the color of the intersection point? Thanks a bunch

Share this post


Link to post
Share on other sites
jmoses    122
Yeah, well I''m using vertex color lighting for my level, and I''d like players in the level to be drawn with the color of where they are standing. for instance, if the player is a dark room, he should be drawn dark, ect...

Thanks

Share this post


Link to post
Share on other sites