Skip to content

Conversation

pmavridis
Copy link
Contributor

Purpose of this PR

https://fogbugz.unity3d.com/f/cases/1306228/
There was an error depending on the value of near max radius.

The near max radius controls the number of dilation passes. The problem was that the computation of passes during RG execution was taking resolution scale into account, but not during the RG pass setup.


Testing status

  • Moving the near max radius slider is not causing any problems anymore (tested on the project attached in the bug ticket)

return parameters;
}

static void GetDoResolutionScale(in DepthOfFieldParameters dofParameters, out float scale, out float resolutionScale)
Copy link
Contributor

@FrancescoC-unity FrancescoC-unity Jan 15, 2021

Choose a reason for hiding this comment

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

I assume DoF here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I already fixed it :)

@FrancescoC-unity
Copy link
Contributor

LGTM

@sebastienlagarde sebastienlagarde marked this pull request as ready for review January 15, 2021 15:10
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.

3 participants