iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Sun shadows casted by one of the block vertices only #192

Closed TheRealOrangus closed 9 years ago

TheRealOrangus commented 9 years ago

if you disable ambient occlusion, and place a few blocks, you would see the problem

iamgreaser commented 9 years ago

Sun shadows are handled in the shader pkg/base/shaders/world_diff.lua. I've already had a fiddle around with it to get the shadows lined up properly, but to no avail, so they tend to be centred on the block corner, rather than the block centre.

If anyone wants to have a crack at fixing it, feel free.