|
From: James W. W. <os...@jw...> - 2004-04-06 06:15:43
|
On Apr 5, 2004, at 5:35 PM, Frank C wrote: >> In the current design, all the transparent triangles are saved in a >> buffer and drawn at the end of the rendering pass. There is no >> indication of whether Phong illumination was on or off when a >> particular triangle was added to the buffer, though it wouldn't be >> difficult to add that. > > I think it would be necessary to add that distinction, otherwise it > would break expected behaviour when using Lambert or null shaders on > transparent geometry. You're right. In the code I just checked in, the extra specular rendering is only done on triangles that were submitted with Phong rendering (and fill style == filled.) -- <http://www.jwwalker.com/> |