Skip to content

Comments

New shadow renderer#3986

Open
water111 wants to merge 12 commits intomasterfrom
w/shadow3-wip
Open

New shadow renderer#3986
water111 wants to merge 12 commits intomasterfrom
w/shadow3-wip

Conversation

@water111
Copy link
Collaborator

This PR ports the shadow renderer from MIPS2C to a new C++ implementation.

This solves the issue where the shadows get weird when the camera is inside the camera volume.

At this point, I'm not sure if the performance is better or not. The C++ is faster than the GOAL implementation by a lot, but there are more separate index buffer uploads to the GPU, giving more work to the graphics driver.

I'm not really sure that it matters since the meshes for shadow are so simple.

@BryceBarbara
Copy link

@water111 Can you fix the failing CI check?

@xTVaser
Copy link
Member

xTVaser commented Jan 21, 2026

the failing CI check doesn't need to be fixed, it's just a linter. But there are conflicts / likely a reason (lack of testing) for why this isn't merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants