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-28 19:17:28 +01:00
Code
Issues
154
Wiki
Activity
Files
a717c8a0c159823005641b5db2c8d16beeb91e43
maszyna
/
shaders
/
light_common.glsl
maj00r
101ab5be5f
fix(shaders): a surface marked as metal in specgloss but with an albedo darker than any real metal is lit as the painted or dirty dielectric it stands for, with its diffuse back and its highlight held to 0.06, instead of going black without a diffuse term, and a metal reflects its surroundings at least at half strength whatever the alpha of its normal map says, since its reflection is all of its colour; materials without specgloss stay as they were
2026-10-14 22:11:06 +02:00
20 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink