Game Development Community

2D lighting

by Gavin Beard · in Torque X 2D · 02/05/2009 (1:15 pm) · 7 replies

Hi all,
I've created a basic scene and for some of the images i have created normal maps. I am trying to look thru the 2D lighting demo to see how to actually add a light to the scene but really am struggling.

Are there any simple tutorials kicking around on adding a light source to a scene in tx?

thanks

#1
02/09/2009 (8:34 am)
I have yet to find ANY tutorials for TX2D other then the five that ship with the software. However, I really like TX so I'll probably start doing some tutorials to help myself (and others) learn the program. 2D lighting is one of the main things I want to learn how to do, so if I have any success with it, I'll likely make a tutorial.
#2
02/09/2009 (10:22 am)
The TX Book has a discussion on lighting. I haven't actually tried using it but it looks like a good start.
#3
02/09/2009 (12:01 pm)
Try reverse engineering:
Add your images and normal maps to the 2D lighting demo and check if they produce the desired effect.

Also check my blog for a lighting example:
swisskgb.com/blog/?p=66
#4
02/10/2009 (10:22 am)
I have the basic principle nailed using the default light component (i think) :-) at least its working
I'm wondering whether its work doing a small tutorial, would anyone be interested?
#5
02/10/2009 (10:36 am)
Quote:would anyone be interested?
Yes :)
#6
02/10/2009 (10:48 am)
Lol,
But I saw your Pipe example which is (i would presume) achieved in the same way I did it, but I shall do a write up this evening
#7
03/09/2009 (4:31 pm)
Any progress on the write up for lighting?