Skip to content

Fix diffusion profile info box in VFX graph (and potentially other tools) #4977

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 72 commits into from
Jul 2, 2021

Conversation

alelievr
Copy link
Member

Purpose of this PR

Address a small UI bug where the diffusion profile infobox was not displayed in VFX Graph:

Before:
image

After:
image

Issue Reference: https://unity.slack.com/archives/C6Y79CZM0/p1623934772104100

Bonus: for scripts that have access to the HDRP internals: they now have the same infobox by default:
image


Testing status

Tested for regression everywhere there is a diffusion profile visible:

HDRP material + Shadergraphs:
image
image

Volume profile override:
image

HDRP Global Settings:

image

pmavridis and others added 30 commits May 26, 2021 19:23
* Fix AxF debug output in certain configurations.

* Update comment
* Fix white flash

* changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Show info box when ray tracing is enabled.

* Changelog

* Move below MSAA

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…phics Compositor enabled (#4593)

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Reconstruct jittered projection matrix far plane (for Infinite )

* Changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…DRP's lifecycle. (#4688)

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fix overdraw in custom pass utils blur function

* Updated changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fix

* changelog

* Force sync compilation for TAA

Co-authored-by: CifaCia <f.cifariellociardi@gmail.com>
Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…side is updated. (case 1335737, related to 1314040) (#4691)

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…ing only the RTSSS Data (case 1332904). (#4626)

* Fixed the ray traced sub subsurface scattering debug mode not displaying only the RTSSS Data (case 1332904).

* Add test scene

Co-authored-by: Remi Chapelain <remi.chapelain@unity3d.com>
Co-authored-by: Sebastien Lagarde <sebastien@unity3d.com>
…e refraction and probe refraction (#4653)

* Delete the second transmittance mul

* Changelog

Co-authored-by: Sebastien Lagarde <sebastien@unity3d.com>
#4636)

* Initialize the shading normal to a non-zero value for anisotropy

* Changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fix VfX lit particle aov output color space

* Update comment

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fixed issue with transparent unlit.

* Updated changelog.

* Reverted accidental change to default mtl.

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fix

* changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
…cal volumetric fog volume (#4728)

* Fixed nullref when deleting the 3D mask of a density volume (case 1339330)

* Updated changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
alelievr and others added 13 commits June 16, 2021 21:15
* Fix custom pass volume not executed in scene view because of the volume culling mask

* Updated changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
… into hd/bugfix

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Updated the Physically Based Sky documentation for baked lights

* Rewrite

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Fixed remapping of depth pyramid debug

* Removed debug pragma

* Update changelog

* Updated tooltip
…ion is enabled. (#4895)

* Fix AO perceived wobble

* changelog

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
* Check for asymmetric projections and choose the generic path if so.

* Fix asymmetric projections for the pathtracer ray generation.

* Changelog

* Simplify the matrix multiplication for computing the generic matrix.

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
@alelievr alelievr requested review from peeweek, sebastienlagarde, RSlysz and a team June 28, 2021 11:11
@alelievr alelievr self-assigned this Jun 28, 2021
@github-actions github-actions bot added the HDRP label Jun 28, 2021
@alelievr alelievr marked this pull request as ready for review June 28, 2021 11:12
Copy link
Contributor

@RSlysz RSlysz left a comment

Choose a reason for hiding this comment

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

Seams good.

@TheoWong-pixel it seams that we have 3 different design for this fix button in helpbox:

  • The one that we used in Material (if still the same)
  • The one that we use here and in DiffusionProfileMaterial
  • The one that is done here #4922 (review)
    Tell us which one we should use :/

(This can be be fixed in a later quality pass if needed)

@RSlysz RSlysz self-requested a review June 30, 2021 07:51
Copy link
Contributor

@iM0ve iM0ve left a comment

Choose a reason for hiding this comment

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

No issues found

Whats tested:

  • Upgraded a simple scene with assets + particles using Diffusion profiles
  • Checked that the new info boxes appear and the existing ones are sitll present
  • Tried the FIX button to see it actually works
  • Upgraded HDRP template to check on the bamboo trees to see if any unexpected behaviour is present

Before PR (no fix on vfx)

Unity_FpwYbRXkHW

After PR (fix for materials and vfx is available)

Unity_Xb8lIg85Oa

After FIX is pressed

TwKtd2U2N6

@sebastienlagarde sebastienlagarde changed the base branch from hd/bugfix to master July 2, 2021 12:58
@sebastienlagarde sebastienlagarde merged commit a0b6dbd into master Jul 2, 2021
@sebastienlagarde sebastienlagarde deleted the hd/fix/diffusion-profile-display-ui branch July 2, 2021 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.