Jump to content

Global Illumination with Voxel Cone Step Tracing


Josh

1,985 views

 Share

Finally, finally, finally, finally, for the first time since I started working on this feature several years ago, finally we have real-time global illumination with a second light bounce: Below you can see the direct light hitting the floor, bounding up to the ceiling, and then being reflected back down on the floor again.

Untitled.thumb.jpg.3695e8990685df623a4fd2a47e9350aa.jpg

Performance is still good and I have not started fine-tuning optimization yet. I was just trying to get the effect working at all, which was quite difficult to do, but now it works great.

In the shot above, ambient light is set to black. Although the GI does light up a lot of the room, there is probably still a place for a small amount of flat ambient light, which can then be darkened by the ambient occlusion effect.

Light leakage is really not an issue. The algorithm does a good job keeping dark indoor areas dark, and only lets light in where it should be.

Untitled.thumb.jpg.81788497f01b220ad8ba521d13f00c29.jpg

While areas with more sunlight exposure are quite a lot more bright:

Untitled.thumb.jpg.8596d021126b7e461bd38998a3e803b3.jpg

Everything else about Ultra Engine is great, but I think this is going to be the thing that really attracts a lot of people. I am very glad I get to include a feature so groundbreaking and amazing as this.

 

  • Like 7
 Share

5 Comments


Recommended Comments

I like how the specular reflection is very prominent in the dark areas and appears to blend into the light areas,

Untitled.thumb.jpg.082e79c4015855d856e3abc809a6936d.jpg

  • Like 2
Link to comment

Three at most. I want the default to be two. It was just hard to get multiple bounces working, now I can do as many as I want.

I think there will be a setting for framerate vs. latency, as I think that will be a place where a tradeoff can be achieved.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...