|
Author |
Topic: fill(r,g,b,alpha) (Read 343 times) |
|
JohnG
|
fill(r,g,b,alpha)
« on: May 20th, 2004, 5:20pm » |
|
Is there a known "issue" with using alpha channels in 3D? I've crated a colour cube out of boxes, with the red/green/blue value changing depending on the axis, and made the boxes transparent using fill(r,g,b,12; No, on one side of the cube, this works as expected, you can jus tabout make out cubes behind. However, once the cube has rotated, you can suddenyl see the rear of the cube, as if the front cubes are 100% transparent. I'm wondering if certain colours get priority when working out the final pixel colour? Here's an applet that shows the bug: http://www.hardcorepawn.com/alpha_cube/ The high red value end of the cube seems to get priority in the final pixel colour.
|
|
|
|
|