Comments (8)
You are right. The general case of using VXGI is for dynamically generated world, either by procedural algorithm or by user input. Another use case is for extremly open world because generating indirect lightmapping will take days or weeks and the result lightmap would take dozen of Gigabytes on the hard drive. You can think of using VXGI in a situation where pre-baked lighting is neither possible or practical.
from unity-srp-vxgi.
Would you say VXGI is more expensive than running Baked GI and Realtime GI together?
from unity-srp-vxgi.
That depends on what "Realtime GI" does.
from unity-srp-vxgi.
I don't understand. I'm talking about a scene with same conditions for both.
from unity-srp-vxgi.
Both precomputed lightmaps, and unity "precomputed" realtime gi, require static world geometry... VXGI does not... If you have static world geometry, use precomputed techniques, if you don't, precomouted techniques don't work so the question is moot.
Precomputed lightmaps have extremely low framerate performance cost.. they take a little extra texture memory, and an extra lookup, but these costs are generally low. The costs of precomputed lightmaps are the inability to move assets because of the static lighting bake and increased world asset storage sizes from the saved lightmaps.
By realtime GI i suspect you mean the depreciated Enlighten "precomputed realtime gi" system. This precomputes lighting bounce for static world geometry, so it can be applied to dynamic objects in real time. The cost of this is much less than VXGI, but it also requires static world geometry.
VXGI is completely dynamic, meaning there is no requirement for static world geometry. However, in addition to more GPU memory consumption and more performance cost, it also has many limitations.. and visual artifacts (like flickering when objects move and voxel aliasing artifacts). We are working to minimize the vixel artifacts. minimizing flickering requires temporal smoothing, which slows light reactivity. As a result, vxgi is best suited to situations with dynamic world building where precomouted techniques are unviable, and artifacts are toloeable.. such as architecture previs.
from unity-srp-vxgi.
Thank you for your patience, @jeske. I think I understand now. Given the same non-static scene, like a dynamically generated world, Enlighten would have a lesser cost than VXGI, but VXGI gives a result closer to static lighting. Is this right?
I'm working on and off on a prefab-based dungeon generator and VXGI sounds cool. I used to follow SEGI, back in the day.
He showcased SEGI while greyboxing levels with probuilder https://www.youtube.com/watch?v=LolerRBhaAs. I don't know if this is another use case for VXGI. What do you think?
from unity-srp-vxgi.
No. Given a non-static dynamically generatated world... Enlighten doesn't work.
Enlighten takes a static set of world geometry, and does a long slow "precalculation" of light transmission in the static scene. Then, at runtime, you can put dynamic objects (like players, or cars) in that scene, and Enlighten uses it's precalculated data to approximate indirect light transmission between the dynamic objects and the static scene. To change the scene geometry with Enlighten you need to reload Unity, change it, and rebaked the Enlighten precalculation step.
SEGI, and Unity-SRP-VXGI both do all their indirect lighting calculations in real time, based on voxel GI rendering and light transmission. So they work with arbitrary dynamic geometry. However, there are some real limitations in how they operate. To get something with fewer compromises we need hybrid ray-traced GI using newer DXR/RTX hardware.
As for probuilder/SEGI.... I do think that VXGI can be a good interactive visualization for GI. If the game doesn't allow truly dynamic world building / world-change, then right now it's probably best to still bake an offline lightmap. However, if the world can be changed in real time, then the only GI solutions out there short-of hybrid raytracing are voxel GI solutions like VXGI (and the variants).
from unity-srp-vxgi.
Oh, thank you. This explains why I was getting "weird" results in the past. There is a lot of information in youtube and reddit, but is mostly wrong whenever the subject is no more for beginners. I will close the issue now. I'm downloading the editor in Linux, I hope VXGI works for me.
from unity-srp-vxgi.
Related Issues (20)
- How to set enviroment lighting HOT 10
- PostProcessingV2 not working on VXGI HOT 9
- NormalMap and HeightMap assign not working HOT 6
- How to hide the emissive object but remain the lighting effect? HOT 2
- Depth of field in PostProcess has some display bug HOT 3
- Newest branch's color problem HOT 3
- Light intensity defaulting to 10 at runtime HOT 1
- Is it possible to set the VXGI's resolution? HOT 4
- Poping particles shadows on dynamic mesh HOT 7
- How to display Text in VXGI HOT 4
- Execute command buffers attached to Camera event
- Render each light source seperately, which depends on its influence rectangle on the screen
- Rework mipmap filtering algorithm
- Particle system functionality HOT 7
- Can't get transparency working HOT 1
- Add at least minimal docs HOT 1
- 'VisibleLight' does not contain a definition for 'localToWorld' HOT 2
- aliasing and no effect in unity 2022.3.9f
- SRP-VXGI Discussion Thread HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-srp-vxgi.