Skip to content

Refactor model pipeline in cesium #12914

@danielzhong

Description

@danielzhong

In the glTF edge visibility PR, there are cases where shader output declarations conflict with OIT’s output layout, even if the code paths are not executed in the OIT pass.

I introduced a temporary solution:
A new flag CESIUM_REDIRECTED_COLOR_OUTPUT was introduced to indicate that a shader has been derived/modified by Cesium’s rendering pipeline. This allows MRT features and other passes to conditionally declare output variables only when not conflicting with the redirected shader outputs.

However, we should consider a broader refactor of the model pipeline to handle this issue in a more systematic way.

#12859

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions