render sky on all places where there are no blocks
render entities
render blocks
render shadow
rendering algorithm should be like this:
fill texture with transparency
render entities
render blocks
render shadow over all non-transparent parts (don't modify alpha channel!)
render sky over all transparent parts in places where there are no blocks
at the moment it is like this:
render sky on all places where there are no blocks render entities render blocks render shadow rendering algorithm should be like this:
fill texture with transparency render entities render blocks render shadow over all non-transparent parts (don't modify alpha channel!) render sky over all transparent parts in places where there are no blocks