• Advertisement
Sign in to follow this  

Lights and Shadows in multi-height 2d tilemaps

This topic is 980 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am in the process of writing a 2d isometric game from scratch, and I'd like to know how/if I can add lights and shadows.

The code I have so far can be found here, but it should be enough to know that right now, the maps are simple 3d arrays of true/false values. Later I will have different block types, and I'd like to add slopes. Here is a shot of the environment: 

YkpEq.jpg

If it were a single layer tilemap it would be straight forward. I can understand the simple raycasting in 2d that is required.

However, given that my maps have multiple levels of height as well as caves/interiors, I don't really know where to start. Any advice or opinions would be greatly appreciated

Edited by noxabellus

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement