Skip to content

Updated Physically Based Sky documentation with more warnings about warmup cost. #6498

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

Merged
merged 10 commits into from
Dec 16, 2021

Conversation

JulienIgnace-Unity
Copy link
Contributor

Updated Physically Based Sky documentation with more warnings about warmup cost.

@github-actions
Copy link

github-actions bot commented Dec 6, 2021

Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed.
Link to Yamato: https://unity-ci.cds.internal.unity3d.com/project/902/
Search for your PR branch using the search bar at the top, then add the following segment(s) to the end of the URL (you may need multiple tabs depending on how many packages you change)

HDRP
/jobDefinition/.yamato%2Fall-hdrp.yml%23PR_HDRP_trunk
With changes to HDRP packages, you should also run
/jobDefinition/.yamato%2Fall-lightmapping.yml%23PR_Lightmapping_trunk

Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure.

@github-actions
Copy link

github-actions bot commented Dec 6, 2021

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page).
See the PR template for more information.
Thank you!

Copy link
Contributor

@Vic-Cooper Vic-Cooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested changes on a few sections.

@@ -133,6 +133,8 @@ The default values in either mode make it so the planet's surface is at **0** on
## Warmup cost

This sky type requires heavy precomputation to be rendered. Because of this, the first few frames (depending on the *Number of bounces* parameter) are going to take much longer. This needs to be taken into consideration when switching from another sky type to the Physically Based Sky for example as it might produce a noticeable drop in framerate.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improved this bit too. Suggested change:

When you use a Physically Based Sky it might cause a noticeable drop in framerate. This is because HDRP performs a large amount of precomputations to render a Physically Based Sky, so the first few frames (depending on the Number of bounces parameter) takes more time to render than other HDRP sky types.

Copy link
Contributor Author

@JulienIgnace-Unity JulienIgnace-Unity Dec 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change sounds good but I think it's missing emphasis on this part:

This needs to be taken into consideration when switching from another sky type to the Physically Based Sky for >example as it might produce a noticeable drop in framerate.

That stresses out the fact that switching sky type during gameplay is going to show this drop in framerate.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your feedback! I've changed my suggestion to the following:

When you switch to or from a Physically Based Sky, it might cause a noticeable drop in framerate. This is because HDRP performs a large amount of precomputations to render a Physically Based Sky, so the first few frames (depending on the Number of bounces parameter) takes more time to render than other HDRP sky types.

… into hd/prb-sky-addendum

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
… into hd/prb-sky-addendum

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
#	com.unity.render-pipelines.high-definition/Documentation~/Override-Physically-Based-Sky.md
@sebastienlagarde sebastienlagarde merged commit e4ca7ce into master Dec 16, 2021
@sebastienlagarde sebastienlagarde deleted the hd/prb-sky-addendum branch December 16, 2021 08:02
Vic-Cooper added a commit that referenced this pull request Jan 5, 2022
A few fixes applied to the changes in #6498 and #6323.
sebastienlagarde pushed a commit that referenced this pull request Jan 13, 2022
A few fixes applied to the changes in #6498 and #6323.
sebastienlagarde pushed a commit that referenced this pull request Jan 13, 2022
A few fixes applied to the changes in #6498 and #6323.
sebastienlagarde added a commit that referenced this pull request Jan 13, 2022
* Fixed the property name of screen weight distance (#6586)

* Documentation and images for custom mip for texture samplers (#6592)

* Documentation and images for custom mip for texture samplers

* Code review suggested changes.

* [HDRP] Fix tile/cluster debug for Decal and Fog #6635

* Minor rewording of PT doc. (#6637)

* Review new warmup cost section (#6683)

A few fixes applied to the changes in #6498 and #6323.

* Path fixes (#6692)

Updated incorrect menu paths.

* fixed typo "pratices" -> "practices" in ToC (#6699)

* fixed link to decal.md (#6700)

* Volume docs bugfixes (#6714)

* Volume docs bugfixes

Updates screenshots, menu paths and fixed some typos and inaccuracies.

* Apply formatting changes

Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>

* NeedMotionVectorForTransparent was checking for wrong flag #6719

* [HDRP][Tooltips] Fixed some tooltips for Local Volumetric Fog #6722

* Fix (#6649)

* [HDRP] Fix rendering when adding an incompatible platform to the project #6495

* Fixed a crash with render graph viewer

* Fixed Custom Pass DrawRenderers shader not compatible with SRP Batcher #6501

Co-authored-by: emilybrown1 <88374601+emilybrown1@users.noreply.github.com>
Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com>
Co-authored-by: simonb-unity <94441789+simonb-unity@users.noreply.github.com>
Co-authored-by: Emmanuel Turquin <emmanuel@turquin.org>
Co-authored-by: Vic Cooper <63712500+Vic-Cooper@users.noreply.github.com>
Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
Co-authored-by: Jans Margevics <50581102+JMargevics@users.noreply.github.com>
sebastienlagarde pushed a commit that referenced this pull request Jan 13, 2022
A few fixes applied to the changes in #6498 and #6323.
sebastienlagarde added a commit that referenced this pull request Jan 13, 2022
* Fix FBX Material

* [HDRP] Fix rendering when adding an incompatible platform to the project #6495

* Updated Physically Based Sky documentation with more warnings about warmup cost. #6498

* Fixed shaders craeted with the custom pass renderers template not being compatible with SRP batcher (case 1383694) (#6501)

* Fixed the fade in mode of the clouds not impacting the volumetric clouds shadows (case 1381652). #6511

* Avoid typed load on volumetric fog filtering on platforms that don't support it #6513

* Fixed the property name of screen weight distance (#6586)

* Documentation and images for custom mip for texture samplers (#6592)

* Documentation and images for custom mip for texture samplers

* Code review suggested changes.

* Fixed potential asymmetrical resource release in the volumetric clouds (case 1388218). #6600

* Fixed the intensity of the sky being reduced signficantly even if there is no clouds (case 1388279). #6601

* Fixed the rt screen space shadows not using the correct asset for allocating the history buffers. #6613

* Urp/fix 1378692 #6627

* Fixed a crash with render graph viewer #6629

* [HDRP] Fix tile/cluster debug for Decal and Fog #6635

* Minor rewording of PT doc. (#6637)

* Changed the behavior the max ray length for recursive rendering to match RTR and rasterization. #6643

* Fix (#6649)

* [HDRP] Fix issue with dynamic RendererList culling option getting ignored #6659

* Review new warmup cost section (#6683)

A few fixes applied to the changes in #6498 and #6323.

* Path fixes (#6692)

Updated incorrect menu paths.

* fixed typo "pratices" -> "practices" in ToC (#6699)

* fixed link to decal.md (#6700)

* Volume docs bugfixes (#6714)

* Volume docs bugfixes

Updates screenshots, menu paths and fixed some typos and inaccuracies.

* Apply formatting changes

Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>

* NeedMotionVectorForTransparent was checking for wrong flag #6719

* [HDRP][Tooltips] Fixed some tooltips for Local Volumetric Fog #6722

* [Fogbugz # 380357] Fixing negative overflowing of IES attenuation spline #6669

Co-authored-by: Antoine Lelievre <antoinel@unity3d.com>
Co-authored-by: JulienIgnace-Unity <julien@unity3d.com>
Co-authored-by: anisunity <42026998+anisunity@users.noreply.github.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
Co-authored-by: emilybrown1 <88374601+emilybrown1@users.noreply.github.com>
Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com>
Co-authored-by: esdasuka <soner.sen@gmail.com>
Co-authored-by: simonb-unity <94441789+simonb-unity@users.noreply.github.com>
Co-authored-by: Emmanuel Turquin <emmanuel@turquin.org>
Co-authored-by: Pavlos Mavridis <pavlos.mavridis@unity3d.com>
Co-authored-by: Vic Cooper <63712500+Vic-Cooper@users.noreply.github.com>
Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
Co-authored-by: Jans Margevics <50581102+JMargevics@users.noreply.github.com>
sebastienlagarde added a commit that referenced this pull request Mar 2, 2022
* Merge Hd/bugfix #6791

* Updated Physically Based Sky documentation with more warnings about warmup cost. #6498

* Rename vertex color mode option #6795

* Initial commit - update the docs (#6819)

* [Hdrp] Merge Hd/bugfix #6954

* Fix for Final Image Histogram debug mode not working on some hardware #7041

* Add pragma renderer only for planar reflection preview shader #7058

* Revert shadow caching code

* Update HDRenderPipeline.cs

* Revert wrong backport of #6952

Co-authored-by: JulienIgnace-Unity <julien@unity3d.com>
Co-authored-by: Adrien de Tocqueville <adrien.tocqueville@unity3d.com>
Co-authored-by: John Parsaie <johnpa@unity3d.com>
Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com>
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.

3 participants