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

HDRP Template fix incorrect volume used for sky baking #7941

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

iM0ve
Copy link
Contributor

@iM0ve iM0ve commented Aug 16, 2023

The issue
If users rebake lighting on the template, it will look significantly more yellow. This happens because the volume assigned for baking has no sky assigned(see image below). This regression appeared after the Default Settings rework, I dont know if I need to make backport PRs for other unity versions (as the scene file might be different).

The fix
My PR simply changes what volume is used in the Lighting->Environment tab. Before the fix it was VolumeDefault(sky missing), after the fix its using VolumeGlobal(has HDRI sky).

image

Showcase
On project open, the template will look normal as in the image below.
image

If user rebakes the lighting, newly generated data will be incorrect, as seen below(yellow). After the fix it will no longer look like this.
image

@iM0ve iM0ve requested review from sebastienlagarde and pierre-unity and removed request for pierre-unity August 16, 2023 11:07
@sebastienlagarde sebastienlagarde merged commit c756498 into master Aug 29, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants