Stride Forums Archive

2D Lighting System

3 posts, 2227 views, 2015-01-27 to 2015-02-01

CommonBlob 2015-01-27 #1

Obviously I could write a 2D lighting system from scratch, but I just wondered if the current lighting system can be used with 2D, or is it only really 3D. Or is there a way to get it working.

Worth asking before I start doing unnecessary coding :smile:

Btw, loving Paradox engine, from someone that was heavily in XNA, Paradox is a joy as it does lots of the irritating things for me :smiley:

xen2 (Virgile) 2015-01-30 #2

What do you mean by 2D lighting? Still same rule than 3d ligthing but everything on a plan (sprite), or something more specific?

CommonBlob 2015-02-01 #3

Good point, yt 2D lighting I meant 2D game. Sprite based. Think of applying lighting to JumpyJet.

Obviously I don’t expect certain shadowing and effects that may require 3d elements for them to work, but wondered if any of the current lighting system can be applied to 2D.