Skip to content

HDRP sub targets refactor (#773) #795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 10, 2020

Conversation

sebastienlagarde
Copy link
Contributor

@sebastienlagarde sebastienlagarde commented Jun 9, 2020

Purpose of this PR

Reduce the code we need to write to add a new master node and share the pass declaration between shaders.

https://yamato.prd.cds.internal.unity3d.com/jobs/902-Graphics/tree/HDRP%252Frefactor-taret-bis/.yamato%252Fupm-ci-abv.yml%2523all_project_ci_fast-2020.1/2459820/job

* Moved sub-target upgrade code to migration files and refactored the HD blocks

# Conflicts:
#	TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/9x_Other/9701_CustomPass_DrawRenderers/9701_UnlitRT.mat

* Made property row labels flexible

* Fixed indent level of propertyRow

* Added more control to indent level and clear foldout

* Refactored inspector GUI for HD lit and hair master node

* Fixed compilation

* Moved fabric subtarget GUI to new system

* Converted Eye and stacklit settings to new GUI system

* Finished decal and unlit inspector settings

* Add missing unlit distortion only + remove unlitPass template + fix duplicated alpha to mask option

* Testing new pass override system

* Revert assets

* Started to factorize passes for Unlit & fix distortion only in the inspector UI

* Shared all non DXR passes between shaders

* Fixed unlit depth prepass

* Fix lot of issues with shared render passes

* Moved SSS property to target specific and converted all ray tracing passes

* Fix missing normal space

* Shared more code between passes

* Added file dependency and remove unused template path

* Added target block context changes

* Removed all the commented code

* Fix anisotropy indent level

* Fixed yamato compilation issue

* Fixed stacklit and raytracing prepass shader issues

* Invert pass order

* Fixed shadow matte

* Enable virtual texturing in forward only

* Wrong emplacement for virtual texture feedback

* Fixed unwanted require field list modification
@sebastienlagarde sebastienlagarde requested a review from a team as a code owner June 9, 2020 13:01
@sebastienlagarde sebastienlagarde requested a review from alelievr June 9, 2020 13:01
@github-actions github-actions bot added the HDRP label Jun 9, 2020
@sebastienlagarde sebastienlagarde merged commit 9748a55 into 9.x.x/release Jun 10, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/refactor-taret-bis branch June 10, 2020 05:33
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