Null-MC / Shrimple

A simple Minecraft Java shader that attempts to maintain the vanilla aesthetic while adding optional shadows & colored lighting.
Other
131 stars 6 forks source link

weird shadow filtering behavior at very high shadow map resolutions. #13

Closed christopher317 closed 1 year ago

christopher317 commented 1 year ago

2023-05-02_18 08 57 the shadow casted on the water looks normal and nice and sharp, but the shadow casted on land its way more bury than it should be, any idea whats going on? ( happens with both pcf and pcss )

shader config ( v0.8 ): Shrimple (replay preset).zip.txt ( only occurs and shadow map res 8192 )

null511 commented 1 year ago

Unless I'm misunderstanding your issue, that's how it should be; PCF & PCSS are both options for soft-shadows.

However with water (or any translucent block) I cannot apply the same blurring, so they still have sharp shadows.

christopher317 commented 1 year ago

i see, so i was just misunderstanding how the shader works. its still weird how the blur radius appears to go up when changing the shadowmap res to 8192 compared to 4096.

whatever, at that point the issue i am thinking of is not what i described so il close the issue.