Skip to content

Conversation

PaulDemeulenaere
Copy link
Contributor


Purpose of this PR

Backport of #4733


Testing status

Awaiting for Yamato ⏳


Comments to reviewers

N/A

commit 73b6768
Author: Paul Demeulenaere <pauld@unity3d.com>
Date:   Fri Aug 27 09:55:58 2021 +0200

    Fix changelog.md

commit 129edd3
Author: Paul Demeulenaere <pauld@unity3d.com>
Date:   Fri Aug 27 09:50:59 2021 +0200

    Fix after merge

    Apply VFXSampleDepth for URP on the correct file

commit a29197d
Author: Paul Demeulenaere <pauld@unity3d.com>
Date:   Mon Jul 5 14:05:45 2021 +0200

    [VFX] Fix soft particles (#4733)

    * Update changelog

    # Conflicts:
    #	com.unity.visualeffectgraph/CHANGELOG.md

    * Different depth computation for orthographic camera

    # Conflicts:
    #	com.unity.visualeffectgraph/CHANGELOG.md

    * Restore change from https://github.cds.internal.unity3d.com/unity/vfx-graphics/pull/211/commits/8169e083d9b68114bd7a248ebba1dfba38fca3f5

    But using URP specific helper "LinearDepthToEyeDepth"

    * FIx issue 1330697

    Correctly applying the flip-y when appropriate while sampling

    * Fix scaling using dedicated URP helper

    It's simpler than reimplement the space transform and equivalent

    * Update com.unity.render-pipelines.universal/Runtime/VFXGraph/Shaders/VFXCommon.hlsl

    Fix comment

    Co-authored-by: Elvar Örn Unnþórsson <ellioman@ellioman.com>

    * Fix issue #4733 (comment)

    Remove VFXLinearEyeDepth & VFXLinearEyeDepthOrthographic from the SRP specific implementation
    Synchronize implementation for VFXLinearEyeDepth in VFXCommonCompute.hlsl (not used anyway)
    TODO : Move LinearDepthToEyeDepth in core for 21.2

    Co-authored-by: Ludovic Theobald <ludovic.theobald@unity3d.com>
    Co-authored-by: Elvar Örn Unnþórsson <ellioman@ellioman.com>
    # Conflicts:
    #	com.unity.render-pipelines.universal/CHANGELOG.md
    #	com.unity.render-pipelines.universal/Runtime/VFXGraph/Shaders/VFXCommon.hlsl
    #	com.unity.visualeffectgraph/CHANGELOG.md

(cherry picked from commit b38a9eb72b46d39f1f1cb052a85fffb1f7142380)

# Conflicts:
#	com.unity.render-pipelines.universal/CHANGELOG.md
#	com.unity.visualeffectgraph/CHANGELOG.md
@PaulDemeulenaere PaulDemeulenaere marked this pull request as ready for review August 27, 2021 12:17
@PaulDemeulenaere PaulDemeulenaere requested a review from a team as a code owner August 27, 2021 12:17
Copy link
Contributor

@ludovic-theobald ludovic-theobald left a comment

Choose a reason for hiding this comment

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

LGTM :)

@phi-lira phi-lira merged commit e104eb5 into 10.x.x/release Sep 6, 2021
@phi-lira phi-lira deleted the 10.x.x/vfx/fix/soft-particles-ortho-and-flip branch September 6, 2021 09:58
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.

4 participants