Skip to content

Conversation

@pmavridis
Copy link
Contributor

Purpose of this PR

https://fogbugz.unity3d.com/f/cases/1263590/

The graphics compositor is using the reference names of the shader graph properties as they are defined in the Shader Graph Inspector:

image

Since the property name set in ShaderGraph can be arbitrarily big, the compositor UI will have to clip it at some point. Note that ShaderGraph also clips the name.

This PR now shows a tooltip with the full name when the user hovers (and waits a bit) over a property name, so he can see the names of properties that don't fit otherwise in the UI.
image


Testing status

As shown in the screenshots, clipping of large names still occurs, but now we have tooltips displayingthe full name.
However the user should manually put a shorter name.

@pmavridis pmavridis added the HDRP label Aug 3, 2020
@pmavridis pmavridis requested review from a team and sebastienlagarde August 3, 2020 20:16
@pmavridis pmavridis changed the title Add tooltips with the full name of compositor properties that otherwi… [HDRP][Compositor] Add tooltips with the full name of compositor properties that otherwi… Aug 3, 2020
@sebastienlagarde sebastienlagarde marked this pull request as ready for review August 4, 2020 07:41
@sebastienlagarde sebastienlagarde removed the request for review from a team August 4, 2020 07:41
@sebastienlagarde
Copy link
Contributor

No need QA for this one.

@sebastienlagarde sebastienlagarde merged commit 1c250f8 into HDRP/staging Aug 4, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/case_1263590 branch August 4, 2020 07:41
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.

3 participants