zukonake / lux-client

2 stars 0 forks source link

Ambient occlusion #6

Closed zukonake closed 6 years ago

zukonake commented 6 years ago

Ambient occlusion is very easy to add, as there are only 4 possible case for a vertex, which depend on the opacity of surrounding blocks, based on these cases a color would be given to the vertex. It seems though that it needs to happen outside meshing, since diagonal access for neighbouring chunks is also needed, it could happen in the same function where future lightning system would, see #5.