Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DDGI for global illumination #243

Merged
merged 84 commits into from
Jan 27, 2025
Merged

Add DDGI for global illumination #243

merged 84 commits into from
Jan 27, 2025

Conversation

Duttenheim
Copy link
Contributor

Probe based global illumination using DDGI. Supports:

  • Adjustable probe count
  • Adjustable rays per probe
  • Update budget, decide how many % of probes should be updated per frame
  • Classification to turn off updates for unnecessary probes
  • Relocation to make probes adjust to their environment
  • Only compatible with raytracing
  • Debug with the g_debug_ddgi CVAR

Comes with a bunch of fixes to the raytracing, mainly:

  • Default hit shaders provide radiance - light calculation is done on hit
  • Material updates are seen in the raytracing system when changing them using the editor

Selection tool scales with size of item, even if not a model
Fixed error in component inspection that would recreate an item indefinitely when a uint value was defined
Also limit uniform buffer binding to size min(MaxUniformSize, buffer.size)
…aterialLoaderState to not confuse debuggers (didn't work)
…ulled into. Miracle it ever worked.

I think this could be solved in a better way, but it will work for now.
@Duttenheim Duttenheim merged commit d8e45fb into master Jan 27, 2025
4 checks passed
@Duttenheim Duttenheim deleted the ddgi branch January 27, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant