Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: how to use AmbientLightColor in game ???  (Read 2747 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
    • View Profile
how to use AmbientLightColor in game ???
« on: February 14, 2009, 08:56:59 PM »

thanks for new version

how to use AmbientLightColor in game ?

actor.AmbientLightColor = ( 255 , 0 , 0 ) ;

correctly ?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: how to use AmbientLightColor in game ???
« Reply #1 on: February 14, 2009, 10:26:09 PM »

actor.AmbientLightColor = MakeRGBA(255, 0, 0);
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Chris

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
    • View Profile
Re: how to use AmbientLightColor in game ???
« Reply #2 on: February 14, 2009, 11:17:54 PM »

can i use with image ?

ep:

actor.AmbientLightColor = MakeRGBA("scenes\liberi\Ambient.bmp");

correctly ?  ???

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: how to use AmbientLightColor in game ???
« Reply #3 on: February 15, 2009, 09:38:39 AM »

No, you can't do that.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.032 seconds with 23 queries.