Auri @aurail.us · Jul 22

One thing that was really important to me when designing my game's lighting was that I wanted the static lighting to fit in with more fancy graphical effects. That means that Minecraft's lackluster diamond-shaped lighting wasn't going to cut it. I wanted spherical light and I wanted colors!

3 likes 1 replies

?

Replies

Auri · Jul 22

To accomplish this, I split the lighting into 6 channels. RGB for block light, and RGB for sky light. (technically there's 9 channels but that's too complicated to get into right now). I also store the direction that light comes from so that I can build a pseudo-sphere of light around the source.