-
-
Notifications
You must be signed in to change notification settings - Fork 97
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 a property to control VoxelGI sky contribution #4812
Comments
Related to godotengine/godot#55104 and godotengine/godot#54681. I think this is more of a bug than a feature proposal. Can you test this with a pure bright red sky? Note that the Energy property in VoxelGIData only affects the amount of visible indirect light, not environment lighting. I'd argue this is done by design, as you can adjust the environment's ambient lighting instead (and VoxelGI should update accordingly, even if you don't bake it again). |
I've done testing in a scene with no lights. Notice how SDFGI's environment lighting is brighter than the others, including when no GI is used at all. On the other hand, VoxelGI's environment lighting seems a tad too dark – but not that much if you compare it to when no GI is used at all. SDFGI has Bounce Feedback decreased to 0. (Environment lighting is even brighter if you increase Bounce Feedback, which may be a bug.) VoxelGI has Energy set to 0, Use Two Bounces enabled and Propagation set to 0, but these settings have no effect when there are no lights in the scene. Testing project: test_fallback_material_1.zip Default sky
Pure red sky
Pure red sky (ProceduralSkyMaterial's Top Color set to pure green)This hints at a sRGB/linear color conversion issue, or not enough samples are taken by SDFGI when sampling environment lighting (i.e. it just samples the top spot of the sky, which is pure green). See also godotengine/godot#61504.
Edit: I stumbled upon godotengine/godot#62793 while creating the pure red/green screenshots. |
Ooooh interesting, I didn't know that Energy and Propagation wouldn't have any effect. Nice to have confirmation that two bounces wasn't affecting skylight contribution either. I guess at any rate, VoxelGI's results have always been softer/softened so there'll inevitably be a difference between the two. I also noticed SDFGI sends stronger directional light intensity to normal maps, VoxelGI is far softer in the way it affects maps. |
@WickedInsignia if you could put together a testing project that runs in Blender and Godot and post it here we would be very grateful. One of our priorities as we approach release will be validating the results of any of our new features (shadows, GI, etc). The best way to do that is to compare the same scene between Blender and Godot, but we haven't had the time and resources to do so yet. It would be a huge help if someone artistically-minded put something together (and shared it with us). |
@clayjohn Perfect, I can do that. I'll pull together some scenes to test a few scenarios, match them across the software and put the files + my findings here. |
Describe the project you are working on
Artistic explorations with Godot's rendering capabilities, with the goal for clean high-grade graphics.
Describe the problem or limitation you are having in your project
SDFGI exhibits more sky indirect contribution than VoxelGI.
VoxelGI does not seem to take the sky into account much, and even less so when two bounces are used. This results in an overly warm appearance to the scene.
Sky energy can be increased, but will result in the sky appearing brighter which may not be desirable.
SDFGI at default settings. Plenty of sky contribution that results in an accurate scene.
VoxelGI at default settings. Sky contribution is considerably lessened.
VoxelGI at defaults w/ two bounces. Sky contribution is lessened even further, resulting in an overly warm appearance.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Allow the user to define (and in some cases, over-emphasize) sky indirect contribution in the VoxelGI settings, without affecting the brightness of the sky itself.
At the absolute least, this would offer more artistic control.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
I'm an artist and not a programmer, so all I can propose is a slider in the VoxelGI settings.
If this enhancement will not be used often, can it be worked around with a few lines of script?
See above.
Is there a reason why this should be core and not an add-on in the asset library?
VoxelGI is a core graphics component of Godot.
The text was updated successfully, but these errors were encountered: