Skip to content

Implement fallback for rendering CCClippingNode#1556

Merged
FireMario211 merged 1 commit intogeode-sdk:mainfrom
FireMario211:patch-1
Dec 30, 2025
Merged

Implement fallback for rendering CCClippingNode#1556
FireMario211 merged 1 commit intogeode-sdk:mainfrom
FireMario211:patch-1

Conversation

@FireMario211
Copy link
Member

@FireMario211 FireMario211 commented Dec 12, 2025

This implements a "fallback rendering" when stencil buffer is disabled.

This is a workaround for getting ANGLEGLKit to work with CCClippingNode, albeit in a limited state. The workaround being to use glScissor instead, as most mods that use CCClippingNode usually have the mask as a box or rectangle.

Also boundingBox is used as some mods dont properly set the anchor points, causing the mask to be in the wrong position.

Added fallback scissor rendering when stencil buffer is disabled.
@FireMario211
Copy link
Member Author

Before:
image

After:
image

@FireMario211 FireMario211 merged commit d8cd5c4 into geode-sdk:main Dec 30, 2025
6 checks passed
dankmeme01 pushed a commit that referenced this pull request Jan 16, 2026
Added fallback scissor rendering when stencil buffer is disabled.
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.

1 participant

Comments