Skip to content

[examples] shaders shadowmap rendering camera fix - #6041

Merged
raysan5 merged 2 commits into
raysan5:masterfrom
JeffM2501:shadow_map_fix
Aug 8, 2026
Merged

[examples] shaders shadowmap rendering camera fix #6041
raysan5 merged 2 commits into
raysan5:masterfrom
JeffM2501:shadow_map_fix

Conversation

@JeffM2501

Copy link
Copy Markdown
Contributor

The camera pos was being sent to the shader before UdpateCamera, so it was using the position from the last frame, now it updates the camera first so it is the current frame.

@raysan5

raysan5 commented Aug 7, 2026

Copy link
Copy Markdown
Owner

@JeffM2501 It seems all spaces were replaced by tabs, please, could you review it?

@JeffM2501

Copy link
Copy Markdown
Contributor Author

@JeffM2501 It seems all spaces were replaced by tabs, please, could you review it?

Yeah sorry about that, Did the change on a different machine than normal, I'll get it fixed up.

@raysan5
raysan5 merged commit 388806f into raysan5:master Aug 8, 2026
17 checks passed
@raysan5

raysan5 commented Aug 8, 2026

Copy link
Copy Markdown
Owner

@JeffM2501 thanks for the review

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.

2 participants