Sign in to follow this  

Calculating colour bias of a point within a triangle

Recommended Posts

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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this