Skip to content

Conversation

sebastienlagarde
Copy link
Contributor

@sebastienlagarde sebastienlagarde commented Apr 14, 2020

Purpose of this PR

Fix for : https://fogbugz.unity3d.com/f/cases/1232042/
+
Fix for : https://fogbugz.unity3d.com/f/cases/1232011/

It rely on C++ PR: https://ono.unity3d.com/unity/unity/pull-request/104532/_/graphics/quality-settings-ui

This PR hide shadow mask property in quality settings as well as realtime reflection probe property.
It also enable/disable UX correctly when Shadow Mask is support is disabled in HDRP asset.

Test:
Checked that behavior is correct when switching between different pipeline and with several pipeline in quality settings and switching to them. Yamato should handle the shadow mask still working part.


Testing status

Manual Tests: What did you do?

  • Opened test project + Run graphic tests locally
  • Built a player
  • Checked new UI names with UX convention
  • Tested UI multi-edition + Undo/Redo + Prefab overrides + Alignment in Preset
  • C# and shader warnings (supress shader cache to see them)
  • Checked new resources path for the reloader (in developer mode, you have a button at end of resources that check the paths)
  • Other:

Automated Tests: What did you setup? (Add a screenshot or the reference image of the test please)

Yamato: (Select your branch):
https://yamato.prd.cds.internal.unity3d.com/jobs/78-ScriptableRenderPipeline

Any test projects to go with this to help reviewers?


Comments to reviewers

Notes for the reviewers you have assigned.

@sebastienlagarde sebastienlagarde changed the title Fix quality settings UI and shadow mask UI Fix quality settings UI and shadow mask UI [Depends on C++] Apr 14, 2020
Copy link
Contributor

@JulienIgnace-Unity JulienIgnace-Unity left a comment

Choose a reason for hiding this comment

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

Small naming issues

@sebastienlagarde
Copy link
Contributor Author

Small naming issues

Fixed

@iM0ve
Copy link
Contributor

iM0ve commented Apr 15, 2020

  • The Realtime probe and Shadowmask Mode are hidden in Quality settings when HDRP asset is assigned. Again visible when HDRP asset is unassigned

JZoftnnXe7

  • Disabling Shadowmask in HDRP asset now grayes out the option in Lighting tab. If shadowmask is already selected in Lighting and then disabled in HDRP asset, It will display a warning message saying its not supported.

qgYyM070HZ

@sebastienlagarde
Copy link
Contributor Author

@iM0ve could you check if the error happen in HDRP/staging already? and also if this error happen with any other option (I don't think it is related to shadowmask, but a more general issue). thanks

@iM0ve
Copy link
Contributor

iM0ve commented Apr 15, 2020

Yes appears to be non PR specific. Also on staging. I updated the comment by removing the issue. Also it happens with other checboxes like Ambient Occlusion, Volumetrics, etc

@sebastienlagarde sebastienlagarde changed the title Fix quality settings UI and shadow mask UI [Depends on C++] Fix quality settings UI and shadow mask UI Apr 27, 2020
@sebastienlagarde sebastienlagarde merged commit 5195d3e into HDRP/staging Apr 27, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/fix-shadowmask-ui branch April 27, 2020 11:47
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