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-17 03:59:19 +02:00
Code
Issues
150
Wiki
Activity
Files
fix/cab-lighting
maszyna
/
shaders
/
mat_shadowlessnormalmap.frag
maj00r
8df87d42cf
fix(shaders): the highlight of the sun is multiplied by the cosine of its light, so surfaces no longer glare milky white under a low sun; headlights light a surface with 1.35 of its diffuse colour and add a GGX highlight of their own scaled by specgloss and param_specular instead of multiplying the whole light by one plus param_specular; normalmap, parallax, detail, shadowless, sunless and default_detail materials read param_glossiness as a Phong exponent, roughness = (2 / (n + 2))^1/4, instead of 1 - 1/n or a fixed mirror
2026-10-14 22:11:06 +02:00
1.7 KiB
Raw
Permalink
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink