Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@robertdorn83
Copy link
Collaborator

Added new Gltf Settings and shader pass stripping script:

image

To reduce shader compile time and resulting shader size, it's now possible to select shader passes which should be stripped on built process. e.g. Unity don't strip BuildIn RP passes, even when URP/HDRP is used. Also URP Deferred passes when only Forward is used.

In editor log when building, the stripped shader passes can be found as:
image

@robertdorn83 robertdorn83 changed the base branch from main to dev September 25, 2024 08:00
@robertdorn83 robertdorn83 force-pushed the feature/shaderpassstripping branch from aecc8ab to 1d3dec5 Compare September 25, 2024 08:07
@hybridherbst hybridherbst merged commit 828e698 into dev Sep 26, 2024
@hybridherbst hybridherbst deleted the feature/shaderpassstripping branch October 6, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants