14 Commits

Author SHA1 Message Date
UnknownShadow200
1ab8982e7a Optimise adv mesh builder 2017-02-07 21:46:46 +11:00
UnknownShadow200
fea8ec433a Fix advanced mesh builder 2017-02-07 16:36:58 +11:00
UnknownShadow200
69dd8af17c reduce code duplication 2017-02-07 15:19:06 +11:00
UnknownShadow200
babc876601 Fix upside down slab lighting issue with advmeshbuilder 2017-02-04 10:52:23 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
eddf8229f0 Optimise block tinting 2016-12-21 14:27:24 +11:00
Goodlyay
a4cb1e80be Core: add block tinting
Uses the fog colour components of the block to tint it if the name ends
with "#".
2016-12-20 19:05:29 -08:00
UnknownShadow200
2986773b51 Abstract block lighting 2016-11-29 21:01:18 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
Goodlyay
f2b799e460 Core: Fix fullbright glow in advanced lighting mode. 2016-11-19 16:05:22 -08:00
UnknownShadow200
89e0145571 Fix UV mapping for blocks. (Thanks goodlyay) 2016-09-04 00:09:24 +10:00
UnknownShadow200
a86d1233d0 Implement greedy meshing for advanced lighting backend.
Note this not 100% optimal, as it does not cover the case of a row of quads in half shadow (one side in shadow, other in sunlight). However, it performs greedy meshing when blocks are either fully in shadow or sunlight so this is much more optimal than before.
2016-07-12 22:31:19 +10:00
UnknownShadow200
c724ba8437 Implement proper face order for advanced lighting. 2016-07-12 20:46:08 +10:00
UnknownShadow200
7711515aee Fix last commit. (Oops) 2016-07-12 20:14:19 +10:00