Question: Two different shapes overlap at a particular pixel point in our rendered image. Each shape color at this point is as follows: Shape 1 :
Two different shapes overlap at a particular pixel point in our rendered image. Each shape color at this point is as follows:
Shape :
Shape :
We also have these lines in our code:
glblendFuncglSRCALPHA, glONEMINUSSRCALPHA;
glenableglBLEND;
Describe the final pixel color in terms of RGB colors. Explain how you can tell just by looking at the information above. Don't worry about the order in which the shapes are drawn.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
