- removed an old optimization line from code, which caused stenciling

with multiple bump-mapping channels not to work
This commit is contained in:
Ton Roosendaal
2003-11-25 18:45:05 +00:00
parent 595e0e51fd
commit efa0a97dfb

View File

@@ -1526,9 +1526,9 @@ void do_material_tex()
}
}
else {
if(rgbnor & TEX_RGB) Ta*= stencilTin;
else if(rgbnor & TEX_NOR) Tnor*= stencilTin;
else Tin*= stencilTin;
Ta*= stencilTin;
Tnor*= stencilTin;
Tin*= stencilTin;
}
if(tex->nor && (rgbnor & TEX_NOR)==0) {