Wednesday, June 08, 2011

Properly shaded foliage

Ember has a system for generating grass and other kind of foliage. It looks pretty good in most cases, but the shading of the grass has always been off. This is even more apparent when the time of day changes, as the grass doesn't change colour when the world does. In addition, the grass didn't receive any shadows, making it look strange when running in a higher graphics settings.

All this has changed now however, as I've altered the grass to be both properly lit and to receive shadows correctly. The effect can be seen below.

No comments: