Commit fb2ae43
committed
Make models brighter with deluxe mapping off
The previous commit fixed excessive brightness with grid lighting
when deluxe mapping is disabled by using the average expected
brightness (over all directions) instead of the maximum, but
it went too far and made things dim. Boost the light a bit
since light directions are positively correlated with normals
in practice.1 parent a47d037 commit fb2ae43
6 files changed
Lines changed: 29 additions & 16 deletions
File tree
- src/engine/renderer
- glsl_source
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
| 690 | + | |
| 691 | + | |
690 | 692 | | |
691 | 693 | | |
692 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2227 | 2227 | | |
2228 | 2228 | | |
2229 | 2229 | | |
2230 | | - | |
| 2230 | + | |
2231 | 2231 | | |
2232 | 2232 | | |
2233 | | - | |
2234 | | - | |
| 2233 | + | |
| 2234 | + | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3636 | 3636 | | |
3637 | 3637 | | |
3638 | 3638 | | |
3639 | | - | |
3640 | | - | |
3641 | | - | |
3642 | | - | |
3643 | | - | |
3644 | | - | |
3645 | | - | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
3646 | 3644 | | |
3647 | 3645 | | |
3648 | 3646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
1353 | 1368 | | |
1354 | 1369 | | |
1355 | 1370 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1684 | 1684 | | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
1690 | 1687 | | |
1691 | 1688 | | |
1692 | 1689 | | |
| |||
2501 | 2498 | | |
2502 | 2499 | | |
2503 | 2500 | | |
| 2501 | + | |
2504 | 2502 | | |
2505 | 2503 | | |
2506 | 2504 | | |
| |||
0 commit comments