18 Commits

Author SHA1 Message Date
UnknownShadow200
69dd8af17c reduce code duplication 2017-02-07 15:19:06 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
dddc9954b7 Client: start work on loading external plugins 2016-12-03 17:44:45 +11:00
UnknownShadow200
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +11: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
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
b576506b86 Gfx: add bool indicating whether texture should use managed or default pool. 2016-10-06 10:54:17 +11:00
UnknownShadow200
67f98eb825 Client: Don't show water/lava on vertical bit of borders (thanks tornato). Also offset horizon blocks properly. 2016-09-15 15:11:27 +10:00
UnknownShadow200
f399c838f2 Client: Keep track of edge level in mesh builder. 2016-09-15 10:56:32 +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
d8fa0aeb1f Slightly fix smooth lighting. 2016-07-12 14:38:16 +10:00
UnknownShadow200
d886909889 First pass on redesigned smooth lighting code. Still a major WIP. 2016-07-10 20:53:24 +10:00
UnknownShadow200
f39f83cd22 Start work on modularising mesh builder class, so we can support both normal and smooth lighting backends. 2016-07-09 15:30:39 +10:00
Goodlyay
06657bbdf1 Add light smoothing to top and side faces of blocks. 2016-07-08 20:15:14 -07:00
UnknownShadow200
118f134b8f Implement top-face water culling like classic. 2016-07-07 17:42:26 +10:00