Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hardware shadow filtering #60

Merged
merged 1 commit into from
Nov 22, 2020

Conversation

RoyaleNoir
Copy link

Using MATERIAL_RT_DEPTH_ONLY disables hardware filtering, which causes shadows to be pixelated.
image

Changing it back to MATERIAL_RT_DEPTH_NONE re-enables hardware filtering, while still working as a depth texture.
image

Using MATERIAL_RT_DEPTH_ONLY disables hardware filtering, which causes shadows to be pixelated, even with pcf. changing it back to MATERIAL_RT_DEPTH_NONE re-enables hardware filtering, while still working as a depth texture.
@Blixibon Blixibon added the Shaders Mapbase - Involves the shaders label Nov 22, 2020
@Blixibon
Copy link
Member

Thank you for catching that. This change will be included in the next Mapbase update.

@Blixibon Blixibon merged commit 3b5b3a9 into mapbase-source:master Nov 22, 2020
VDeltaGabriel pushed a commit to Project-P2009/p2009_sdk that referenced this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shaders Mapbase - Involves the shaders
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants