tweaks to subsurface scattering, improve SSS in the distance. make screenspace shadows have consistent step length across all window resolutions. tweak torch lighting (make it slightly brighter and a warmer color). tweak TAA handling of the hand. tweak specular reflection handling of the hand to be slightly more stable. make the shader use moonPosition instead of inverted sunPosition for moon related code. add support for Caelium moon positions. improve water parallax. remove some unused code improve specular handling of translucent entities with inside faces (slimes). add settings for refraction effects. re-enable block breaking effect and glass tint (it was off accidentally lol)

This commit is contained in:
Xonk
2025-01-28 23:19:33 -05:00
parent 6c41c008c0
commit a58cdfb9e9
24 changed files with 298 additions and 949 deletions

View File

@ -292,13 +292,11 @@ SHADER_VERSION_LABEL <empty> \
### WATER
screen.Water.columns=2
screen.Water = WATER_REFLECTIONS FAKE_REFRACTION_EFFECT \
WATER_SUN_SPECULAR Vanilla_like_water \
SCREENSPACE_REFLECTIONS SSR_STEPS \
WATER_BACKGROUND_SPECULAR Dirt_Amount \
MINIMUM_WATER_ABSORBANCE [Water_fog_color] \
Water_Top_Layer SNELLS_WINDOW \
WATER_WAVE_STRENGTH WATER_WAVE_SPEED \
screen.Water = FAKE_REFRACTION_EFFECT [Water_fog_color] \
FAKE_DISPERSION_EFFECT Dirt_Amount \
REFRACTION_SMUDGE MINIMUM_WATER_ABSORBANCE \
SNELLS_WINDOW Water_Top_Layer \
WATER_WAVE_STRENGTH WATER_WAVE_SPEED \
screen.Water_fog_color.columns=1
screen.Water_fog_color = Dirt_Scatter_R Dirt_Scatter_G Dirt_Scatter_B Dirt_Absorb_R Dirt_Absorb_G Dirt_Absorb_B Water_Absorb_R Water_Absorb_G Water_Absorb_B