nice lighting effects


(blushing_bride) #1

Can anyone tell me if it is possible to make light such as in the following pictures from Prince of Persia. If possible i would like to emulate the dappled light coming through windows.

http://media.ps2.ign.com/media/535/535909/img_1814679.html

http://media.ps2.ign.com/media/535/535909/img_1855195.html

If it is possible how would you do it? Thanks in advance


(chavo_one) #2

Gerbil did the best I’ve seen at creating that effect in mml_church.
Plus, he released the source for the map, so you can see how he did it.


(G0-Gerbil) #3

Yoiu could probably make a softer edge than in church by making the texture (suitably faded at the edges) into an auto-sprite - rather like the search light effect from MP-dam in RTCW, although they didn’t bother with the soft edge effect itself.

I did try this myself but all my autosprites went wrong - never fixed it but I think it’s because I was using the -meta switch and need to disable it (on the light shader only!).


(blushing_bride) #4

thanks lads i’ll have a look at church and see what i can steal…err i mean be inspired by :clap:


(G0-Gerbil) #5

The trick is to keep it subtle :slight_smile:


(neotic) #6

i love that chik… sexy polygons