Author Topic: Lights???  (Read 4274 times)

FDS

  • Guest
Lights???
« on: 5 January 2005, 12:50:55 »
How to put a light in a building?
I am useing "<light enabled="true" red="0.9" green="0.6" blue="0.3"/>", but sometimes it works and others don't! I am becomeing CRAZZY! :o
« Last Edit: 1 January 1970, 00:00:00 by FDS »

FDS

  • Guest
(No subject)
« Reply #1 on: 7 January 2005, 15:12:11 »
Nobody knows what is wrong with these #$*%@ lights? :?
It happens with the torchs, that you download at the site, too! :(
« Last Edit: 1 January 1970, 00:00:00 by FDS »

StrikerShot21

  • Guest
(No subject)
« Reply #2 on: 8 January 2005, 15:30:10 »
That may be caused by too many lights. I remember playing another RTS that didn't support that many lights so eventually, if you built too many things with lights, all lighting disappeared.
« Last Edit: 1 January 1970, 00:00:00 by StrikerShot21 »

FDS

  • Guest
(No subject)
« Reply #3 on: 8 January 2005, 16:03:57 »
Yes, I think it is the problem. So...I will not be able to put lights in all the buildings. :(
« Last Edit: 1 January 1970, 00:00:00 by FDS »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #4 on: 8 January 2005, 22:09:08 »
MaxLights=4

This line in glest.ini sets the maximum number of lights. Be aware that OpenGL only forces implementations to have 8 lights, so a higher value unsafe.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

FDS

  • Guest
-
« Reply #5 on: 8 January 2005, 22:54:58 »
LIGHTS! LIGHTS! LIGHTS! My night is is day!!! :P
Thanks!
« Last Edit: 19 June 2016, 06:17:26 by filux »