Search Issue Tracker

Fixed in 12.0.X

Fixed in 12

Votes

0

Found in [Package]

12.0

Issue ID

1343674

Regression

No

[VFX Graph] Forward decal has sliding issue when Render Scale property of URP asset is being tweaked

Package: Visual Effect Graph

-

How to reproduce:
1. Import the attached package
2. Drag 'Render Scale' property of the URP asset

Expected result: Screen blurs in blurs out, decal remains the same
Actual result: Screen blurs in blurs out, decal is sliding

Reproducible with: 2021.2.0a21(master)

Comments (6)

  1. adamgolden

    Aug 24, 2022 11:00

    This issue also exists in URP 14.0.3 and 15.0.0 as of August 24th, 2022.

    Tested the fix with 14.0.3 and a WebGL build using 2022.2.0b5 - it works.

  2. gyx920820

    May 24, 2022 03:19

    Still broken in 2021.3.2 and urp 12.1.6

  3. Claytonious

    Apr 20, 2022 23:36

    Why is this marked as fixed? It is not fixed in 2021.3.0f1.

  4. djarcas

    Apr 20, 2022 18:03

    Still broken in 2021.3.0f1 com.unity.render-pipelines.universal@12.1.6

  5. djarcas

    Mar 24, 2022 13:11

    looking at ScriptableRenderer.cs shows that the line 221.

    cmd.SetGlobalVector(ShaderPropertyId.screenSize, new Vector4(cameraWidth, cameraHeight, 1.0f / cameraWidth, 1.0f / cameraHeight));

    is still incorrect, and it should be

    cmd.SetGlobalVector(ShaderPropertyId.screenSize, new Vector4(scaledCameraWidth, scaledCameraHeight, 1.0f / scaledCameraWidth, 1.0f / scaledCameraHeight));

    in version com.unity.render-pipelines.universal@12.1.5

  6. djarcas

    Mar 23, 2022 11:34

    This is reported fixed in 12.1.4:

    VFX: Incorrect Decal rendering when rendescale is different than one case 1343674

    but it's not (video in thread)

    https://forum.unity.com/threads/changing-urp-asset-render-scale-affects-decals-rendering.1188094/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.