Alpha error in unified render, causing mist and non-ztransp alpha and 'env'
materials not to render correct.
This commit is contained in:
Ton Roosendaal 2005-09-19 07:53:08 +00:00
parent 4bfbb978d2
commit bf0ef10179

@ -916,7 +916,7 @@ static void integratePerSubStack(float *sampcol, struct RE_faceField* stack,
subStackPtr = subStackSize - 1;
while (subStackPtr >= 0) {
/* we can make a general meachanism here for operations */
if (stack[subStack[subStackPtr]].faceType == RE_POLY){
if (stack[subStack[subStackPtr]].faceType & RE_POLY){
VlakRen* vlr = (VlakRen*) stack[subStack[subStackPtr]].data;
if (vlr->mat) {
/* ENV faces */