21 Commits

Author SHA1 Message Date
UnknownShadow200
b45bb70785 some micro optimisations 2017-02-07 22:53:54 +11:00
UnknownShadow200
69dd8af17c reduce code duplication 2017-02-07 15:19:06 +11:00
UnknownShadow200
02550f9d65 xyz 2017-02-04 13:02:03 +11:00
UnknownShadow200
d947ac6988 Slightly less hardcoding 2017-02-01 17:36:09 +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
619ebafca1 more work on abstracting lighting 2016-12-02 15:29:23 +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
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
d886909889 First pass on redesigned smooth lighting code. Still a major WIP. 2016-07-10 20:53:24 +10:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00
UnknownShadow200
cb07f2666d Finish implementing normal and smooth-lighting subclasses for mesh builder. 2016-07-09 15:56:18 +10:00
Goodlyay
7236d0f419 Revert "Revert "Add smoothing on bottom face.""
This reverts commit 7dc7dbef00673693c2c0379e1adffb2a39ae59ce.
2016-07-08 22:51:01 -07:00
Goodlyay
7dc7dbef00 Revert "Add smoothing on bottom face."
This reverts commit db9089fdd7f6ca85e8ccb319c01c252849a9dfa5.
2016-07-08 22:46:49 -07:00
Goodlyay
db9089fdd7 Add smoothing on bottom face. 2016-07-08 22:41:11 -07:00
Goodlyay
06657bbdf1 Add light smoothing to top and side faces of blocks. 2016-07-08 20:15:14 -07:00
UnknownShadow200
9e1eca9491 Fix 20+names in classic list overflowing box size slightly, also fix selected outlined block being translucent causing entity shadows to disappear. 2016-07-08 20:42:22 +10:00
UnknownShadow200
118f134b8f Implement top-face water culling like classic. 2016-07-07 17:42:26 +10:00