Skip to content

Conversation

@adriengivry
Copy link
Member

@adriengivry adriengivry commented May 20, 2025

Description

Added a new system to define shader passes:

  • to avoid unnecessary variants (only one pass can be used at a time)
  • to simplify pass selection for each drawable (instead of having to override a material feature set, the pass to use can be specified)
  • to allow the material editor to differentiate properties that are pass-specific and feature-specific (all pass-specific properties should be shown)

This allows custom passes to expose settings through the material editor.

Updated shaders to use the new pass system.

Related Issue(s)

Fixes #543

Review Guidance

Write here.

Screenshots/GIFs

image
Shadow Clipping Threshold property now showing properly

@adriengivry adriengivry self-assigned this May 20, 2025
@adriengivry adriengivry added the Graphics Graphical feature label May 20, 2025
@adriengivry adriengivry merged commit dbaa6cb into main May 20, 2025
@adriengivry adriengivry deleted the feature/pass_feature_decoupling branch May 20, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Graphics Graphical feature

Development

Successfully merging this pull request may close these issues.

Separate shader features & passes

2 participants