Skip to content

Add shadowmapping example#3653

Merged
raysan5 merged 1 commit intoraysan5:masterfrom
TheManTheMythTheGameDev:shadowmap-example
Dec 19, 2023
Merged

Add shadowmapping example#3653
raysan5 merged 1 commit intoraysan5:masterfrom
TheManTheMythTheGameDev:shadowmap-example

Conversation

@TheManTheMythTheGameDev
Copy link
Contributor

Add a simple shadowmap example.
Features:

  • Directional light shadowmapping
  • Slope-scale depth bias
  • Box PCF (percentage-closer filtering)

}
}

void DrawScene(Model cube, Model robot)

Check notice

Code scanning / CodeQL

Large object passed by value

This parameter of type [Model](1) is 120 bytes - consider passing a const pointer/reference instead.
@raysan5 raysan5 merged commit 1fc3d9a into raysan5:master Dec 19, 2023
@raysan5
Copy link
Owner

raysan5 commented Dec 19, 2023

@TheManTheMythTheGameDev Thank you very much! This is a really great addition! 😄

@TheManTheMythTheGameDev TheManTheMythTheGameDev deleted the shadowmap-example branch December 19, 2023 19:02
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