~ | Imgui material

This commit is contained in:
TheRedShip
2025-01-12 18:30:31 +01:00
parent 7bf9037562
commit 5d5c9d432e
3 changed files with 44 additions and 11 deletions

View File

@ -151,7 +151,7 @@ vec3 pathtrace(Ray ray, inout uint rng_state)
hitInfo hit = traceRay(ray);
if (hit.obj_index == -1)
{
// light += GetEnvironmentLight(ray);
light += GetEnvironmentLight(ray);
// light += vec3(135 / 255.0f, 206 / 255.0f, 235 / 255.0f); //ambient color
break;
}