Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Making a texture glow  (Read 4874 times)

0 Members and 1 Guest are viewing this topic.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Making a texture glow
« on: 03 May 2010, 13:42:42 »
I have a texture that is a light. When I turn it on, I do so through setObjectTexture. Now this works during the day, however it doesn't seem like a light because it doesn't glow or seem very bright.

I understand it maybe possible to put some kind of material on. However, is it possible with setObjectTexture? I basically have light_off.paa and light_on.paa. I want light_on.paa to glow, light_off.paa to stay as it is.

If someone could enlighten me if this is possible that would be fantastic, as it would finish what I am doing. Thank you.

Edit - And balls, I missed the sub forum for textures. Could it be moved please? :)
« Last Edit: 03 May 2010, 13:57:20 by JasonO »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Making a texture glow
« Reply #1 on: 03 May 2010, 15:07:45 »
Quote
And balls
It's moderator or admin, but whatever  :D
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.