Partial transparent parts and "needs work" note's


Re: Partial transparent parts and "needs work" note's
#11
I just realized that the 127 and 128 values are swapped in the last equation above. It should be the following instead:

Code:
alpha = transA + (alpha - 128) * (255 - transA) / 127;

Mind you, I highly doubt anyone would ever be able to see the difference, but the above is the correct equation.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Partial transparent parts and "needs work" note's - by Travis Cobbs - 2012-07-03, 19:50

Forum Jump:


Users browsing this thread: 1 Guest(s)