-
Notifications
You must be signed in to change notification settings - Fork 839
Vfx/fix/1289612 filter texture by dimension #5715
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
Vfx/fix/1289612 filter texture by dimension #5715
Conversation
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. VFX 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. |
I forgot one aspect of the issue: the texture picker should also include RenderTextures objects (if possible of the correct dimension). |
Have you tested that a render texture with the right dimension should also be regarded as compatible ? |
When object is of any type of texture it now also accept RenderTexture
Hi @julienamsellem , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, no outstanding issues found.
Test doc for reference.
Thanks for the fix! :)
…/github.com/Unity-Technologies/Graphics into vfx/fix/1289612-filter-texture-by-dimension
* master: (148 commits) [HDRP] Add custom pass buffer scaling functions (#5809) Fix HDRP template input not working when using the new Input System and no Keyboard/Mouse (#6045) [SRP] Bump package version to 13.2.0 (#6049) ** Improving FTPL perf on ps4 by .3 ms on average ** (#5866) Remove min version from package.json (#6044) Fix subdiv view (#6033) Small qol (#6036) APV: update some tooltips and add a clamp on dilation validity threshold (#6005) SRP bump to 13.1.1 (#6041) (SRP] Bump min version to a12 to fix Yamato Vfx/fix/1289612 filter texture by dimension (#5715) [HDRP] Fix 9601/9602 reference screenshots after cache server weirdness [CI] [trunk] Updated editor to 5a5aca0fb632e01b9b362f6deb73bcf599d612ca [CI] [trunk] Updated editor to 7b5b9bb6eed88e40de00efa2a629dd8f0b2bfee2 [CI] [trunk] Updated editor to a397ac6302d3ce68bd3eeea7721610a649addfa3 [CI] [trunk] Updated editor to dd9d77b7ded66b5edad4dacf123ffbb6c8d8c4bf [CI] [trunk] Updated editor to 6c7822fe613adfea64bb232c817a2fdee34fc273 [CI] [trunk] Updated editor to aae7fd02ff5afebc831948d25c52dcf704a8a3f3 [CI] [trunk] Updated editor to 9c278756e419ae931cabac6c5dd60f24e05c6de3 [CI] [trunk] Updated editor to d3dc7fc8d330da1155ec00683876a559b2a63281 ...
https://fogbugz.unity3d.com/f/cases/1419176/ This is a regression introduced by this PR [#5715](#5715) Repro steps: 1. Import the attached project 2. Open the VFX graph 3. Observe the subgraph block and subgraph operator are referenced properly 4. Rename the VFX Graph 5. Observe both subgraph references are lost Expected outcome: - References to be kept 
https://jira.unity3d.com/browse/UUM-5081 Backport of this PR: https://github.cds.internal.unity3d.com/unity/unity/pull/9708 This is a regression introduced by this PR [#5715](#5715) Repro steps: 1. Import the attached project 2. Open the VFX graph 3. Observe the subgraph block and subgraph operator are referenced properly 4. Rename the VFX Graph 5. Observe both subgraph references are lost Expected outcome: - References to be kept 
Purpose of this PR
https://fogbugz.unity3d.com/f/cases/1289612/
When an operator, a node or even a property exposes a Texture object, the picker lists all kind of textures (2D, 3D, Cubemap ...).
The list is then much longer than needed and the user is bothered with non relevant textures.
With the fix, the picker lists only relevant textures.
[Before]

[After]

Testing status
The change will apply to any object field in the VFX graph editor, so I checked
Comments to reviewers
The scope of the change is quite large because not only texture picker is affected, any kind of object picker (mesh, skinmesh, texture ...).
The UI on this part is completely new, even though I tried to make it the same as before so you may also check for regression on this part.
Note

The object icon is a bit improved since now it's more accurate than before. For example if your object should be a cubemap, you see a cubemap icon, not the generic texture icon.
[Before]
[After]
