Global illumination aus und monitoring/loading bar implementiert

This commit is contained in:
any
2026-08-29 00:31:13 +02:00
parent 20ab33de33
commit 7052745a90
5 changed files with 36 additions and 4 deletions
+2 -2
View File
@@ -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;