Original Post
What exactly is meant by modulation when mapping textures to a triangle? I have an assignment where I have to map a texture to a triangle using modulation to give the triangle a shaded or lit appearance. The only information I have is that you must multiply the colors of the two pixels (the triangle and the texture) together to get the resulting color. How would this work if the colors range from 0-255? Am I supposed to map those values to between 0-1 and multiply those? Any help would be appreciated.