Global illumination aus und monitoring/loading bar implementiert
This commit is contained in:
+2
-2
@@ -31,8 +31,8 @@ RGBA getRayColor(RGBA colorList[], bool isLightList[]) {
|
||||
//return rayColor;
|
||||
firstLightHitIndex = lightBounces - 1;
|
||||
isLightList[firstLightHitIndex] = 1;
|
||||
colorList[firstLightHitIndex] = (RGBA){GLOBALILLUMINATION,GLOBALILLUMINATION,GLOBALILLUMINATION,1};
|
||||
//colorList[firstLightHitIndex] = (RGBA){0,0,0,1};
|
||||
//colorList[firstLightHitIndex] = (RGBA){GLOBALILLUMINATION,GLOBALILLUMINATION,GLOBALILLUMINATION,1};
|
||||
colorList[firstLightHitIndex] = (RGBA){0,0,0,1};
|
||||
}
|
||||
//pixel.r += spheresHitList[firstLightHitIndex]->color.r;
|
||||
//pixel.g += spheresHitList[firstLightHitIndex]->color.g;
|
||||
|
||||
Reference in New Issue
Block a user