patriciogonzalezvivo / lygia

LYGIA, it's a granular and multi-language (GLSL, HLSL, WGSL, MSL and CUDA) shader library designed for performance and flexibility
https://lygia.xyz
Other
2.53k stars 163 forks source link

Fixed Raymarching AO #186

Closed shadielhajj closed 1 month ago

shadielhajj commented 1 month ago

Replaced broken Raymarching AO implementation (HLSL and GLSL)

The new implementation is from IQ's Shadertoy Soft Shadow Variation .

Bonus tracks:

Before (notice the weird and unrealistic shadow at the bottom), Screenshot 2024-07-29 214652

After Screenshot 2024-07-29 214718 Screenshot 2024-07-29 214749