TheCricket/Chisel-2 — pull request #58 by CptSpaceToaster (2014-12-19 05:51:35+00:00)
Title: fixed the CTM renderer to properly average values if the colored light core is installed

I bit crammed values into the light integers you guys were using in your CTM renderer. Your averaging routine of simply adding them together and dividing by four or two wasn't exactly working, so wrote a method that can average them together, and implemented it in your CTM renderer.

There IS a slightly larger performance drop here, but it shouldn't be noticeable. To put it in perspective, rendering an anvil is WAY worse in complexity. Also, this method only runs once per block, then it's done until the object is removed from the render buffer (till the player walks away) so the added complexity should be far from noticeable.

If you are still concerned, feel free to discuss your concerns here, or on IRC.