Skip to content

Support for DEPTH16 texture format and its used for PCF shadow maps#7142

Merged
mvaligursky merged 1 commit intomainfrom
mv-shadow16
Nov 27, 2024
Merged

Support for DEPTH16 texture format and its used for PCF shadow maps#7142
mvaligursky merged 1 commit intomainfrom
mv-shadow16

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

@mvaligursky mvaligursky commented Nov 26, 2024

Fixes #5355

  • adds support for PIXELFORMAT_DEPTH16 pixel format (16bit version of PIXELFORMAT_DEPTH)
  • adds new PCF shadow types using this 16bit format: SHADOW_PCF1_FLOAT16, SHADOW_PCF3_FLOAT16, SHADOW_PCF5_FLOAT16 - these work on all light types, both clustered and non-clustered

in a separate PR, existing SHADOW_*** constants will be renamed to be more unified with the new constants.

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

Labels

area: graphics Graphics related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement support for 16bit depth buffers shadow maps

2 participants