ScreenSpace UVs apply to newest opened viewport, don't restore unless editor is restarted

When using screen aligned UVs for post-process materials, the UVs in all viewports will adapt to the latest-opened viewport. For example, in the main viewport the UVs will appear properly but if a material is opened then the UVs in the main viewport will scale to the material editor’s viewport. The UVs will not revert to the main viewport’s scale again until the editor is restarted. This also affects “Play in new editor window” but is mitigated when the viewport is fullscreen.

Hi Master Noob -

Can you give me a screenshot of your blendable setup? I have tried a few different setups and am not currently able to reproduce what you are describing.

Thank You

Eric Ketchum

First screenshot is the post process material before and after opening a material as well as the setup for the scenetexture UVs, second is the post process volume’s blendables section.
The 500+ instructions is due to a placeholder blur function that doesn’t affect this problem.

Replacing the “ScreenAlignedUVs” node with “TextureCoordinates” node fixes this issue, implying the issue lies within ScreenAlignedUVs.

Hi -

In the setup you are describing above, what Texture or node is the UVs that are generated by the Scale by Center node eventually going into?

Eric Ketchum

A SceneTexture(scenecolor) node.

Hi -

I am not able to reproduce the exact problem that your pictures demonstrate, but I know that the ScreenAlignedUVs will not work as intended with the SceneTexture Expressions. By their nature the SceneTexture Expressions are already in Scene Space.

Thank You

Eric Ketchum