Skip to content

Conversation

FrancescoC-unity
Copy link
Contributor

@FrancescoC-unity FrancescoC-unity commented Apr 27, 2021

Adding a new shadow quality tier to allow the work for PCSS in area lights.

Also added abstraction for AREA_LIGHT_FILTERING so that it can be changed to slot in a new method.

I did test the change by running all tests locally and they are all green.

For the time being Very High and High are exactly the same (waiting for @robertcupisz PR)

${VFXHDRPForwardDefines}
#pragma multi_compile USE_FPTL_LIGHTLIST USE_CLUSTERED_LIGHTLIST
#pragma multi_compile SHADOW_LOW SHADOW_MEDIUM SHADOW_HIGH
#pragma multi_compile SHADOW_LOW SHADOW_MEDIUM SHADOW_HIGH SHADOW_VERY_HIGH
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why it looks differently indented here, can't see to get this to change locally with fork :/

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe running the formatting tool can work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did try but did not work :-(

Copy link
Contributor

@sebastienlagarde sebastienlagarde left a comment

Choose a reason for hiding this comment

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

Note, we will need to update documentation as well

@FrancescoC-unity
Copy link
Contributor Author

Note, we will need to update documentation as well

Will add soon

@FrancescoC-unity
Copy link
Contributor Author

Note, we will need to update documentation as well

I was wondering, shall we update now or when there will be an actual difference? As of now it'd be a bit silly to say "Very High: it is the same as High"

@sebastienlagarde
Copy link
Contributor

good poitn, ok let's merge this one

@sebastienlagarde sebastienlagarde marked this pull request as ready for review May 5, 2021 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants