splattersail-games / rts-wizard

An Unambitious 2D M:WW inspired prototype
1 stars 0 forks source link

Find a way of drawing "world" level stuff that is unaffected by lighting #6

Open nathanKramer opened 8 years ago

nathanKramer commented 8 years ago

I'm imagining we do some sort of love2d stencil layer of the entities in the world, that we can use to "exclude" portions of the drawn screen when doing love.graphics.draw calls after the light_world draw function.

In this way we could draw wards, for example, underneath the player, but in their full colour and not overly shaded or affected by lighting.