This website requires JavaScript.
Issues
Task board
Repositories
Sign In
eu07
/
maszyna
Watch
17
Star
0
Fork
0
You've already forked maszyna
mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced
2026-10-31 18:09:04 +01:00
Code
Issues
156
Wiki
Activity
Files
a717c8a0c159823005641b5db2c8d16beeb91e43
maszyna
/
shaders
/
parallax.glsl
maj00r
20cf81b362
fix(shaders): parallax mapping reads its depth from a mip about four texels per pixel coarser, filtered bicubically where the hit is refined, so the relief no longer breaks into stalactites and the edges of stones no longer step along the texel grid of the compressed depth; it takes 16 to 64 layers by the angle of view and six steps of refinement, casts the shadows of the relief from the sun over the sun light and darkens the hollows deeper than the mean depth of the texture while lightening the tops, so the mean brightness of a surface stays the same
2026-10-14 15:02:14 +02:00
3.4 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink