Calculating colour bias of a point within a triangle

Started by
-1 comments, last by RobM 14 years, 11 months ago
Is there a way to compute the vertex colour bias of a point in a right-angled triangle? So imagine I've got a triangle with a red vertex, a blue and a green. For any given point within the triangle, how do i calculate how much red, green and blue should exist at that point (clamped obviously). I've been looking around and trying to work it out but no luck yet. Thanks for any help

This topic is closed to new replies.

Advertisement