Light !

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
turshija
Posts: 127
Joined: Sat Feb 17, 2007 9:26 am
Location: Novi Sad, Serbia
Contact:

Light !

Post by turshija »

Light is starting to piss me off ...
Is there any possibility to turn on FullBright or place more than 1 light ?
Because everything looks different when lighted by different angle, something doesn't even look how is it meant to be ...
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 »

you can do it by using shaders... But things can become quite difficult even if lightning should not be impossible...
http://www.lighthouse3d.com/opengl/glsl ... php?lights
however is better if you start reading it from the beginning xD
User avatar
turshija
Posts: 127
Joined: Sat Feb 17, 2007 9:26 am
Location: Novi Sad, Serbia
Contact:

Post by turshija »

i solved my problem by setting App.LightPosition to camera position, so that I always have same light, wherever I look ...
Post Reply