Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a8859d

Browse filesBrowse files
mioladozkriff
andauthored
N14: Diffuse GI (rust-gamedev#295)
* Added section on diffuse gi * Changed phrase sound a bit better * N14: diffgl: Smaller GIF * N14: diffgi: Style & fmt tweaks Co-authored-by: Andrey Lesnikov <ozkriff@gmail.com>
1 parent 16c3386 commit 9a8859d
Copy full SHA for 9a8859d

File tree

2 files changed

+26
-0
lines changed
Filter options

2 files changed

+26
-0
lines changed
2.18 MB
Loading

‎content/posts/newsletter-014/index.md

Copy file name to clipboardExpand all lines: content/posts/newsletter-014/index.md
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,32 @@ The source code [can be found here][bevy-flappy-src].
421421
[bevy-flappy-video]: https://youtube.com/watch?v=Qjc0V58lB7A
422422
[bevy-flappy-src]: https://github.com/TanTanDev/flappy_bevy
423423

424+
### [Real-Time Global Illumination in WGPU][gi-post]
425+
426+
[![diff-gi-gif](diff-gi.gif)][gi-post]
427+
_Infinite light bounces in Cornell Box_
428+
429+
[DI2edd] shared his [real-time diffuse global illumination demo on /r/rust_gamedev][gi-post].
430+
It's written in 100% Rust and uses WGPU for graphics, proving that the API
431+
is an excellent choice even for advanced computer graphics applications.
432+
433+
The technique provides real time global illumination for static lambertian
434+
geometry, and is the implementation of the 2017 paper ["Real-time Global
435+
Illumination by Precomputed Local Reconstruction
436+
from Sparse Radiance Probes"](https://arisilvennoinen.github.io/Projects/RTGI/index.html),
437+
which proposes a spherical harmonics-based approach to solve the rendering equation
438+
in real time.
439+
440+
In practice, this means that the expensive light transport calculations are performed
441+
in a precomputation step, which relies on - among others - [embree-rs],
442+
and [nalgebra] to produce a compressed
443+
representation of the scene that is then used for lighting reconstruction at runtime.
444+
445+
[gi-post]: https://reddit.com/r/rust_gamedev/comments/ixocl2/real_time_diffuse_global_illumination
446+
[DI2edd]: https://reddit.com/u/DI2edd
447+
[embree-rs]: https://github.com/Twinklebear/embree-rs
448+
[nalgebra]: https://github.com/dimforge/nalgebra
449+
424450
## Library & Tooling Updates
425451

426452
### [Thunderdome]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.