Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Ezykeyal
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Primordium
Posted: 18th May 2007 23:44
Hi,

I've created a ceiling lamp.
What I want is to have the bulbs be illuminated (to make them appear bright).
I tried many things to make the illumination.fx to work but I can't seem to figure it out.
How does one do it?

Cheers,
X Games
17
Years of Service
User Offline
Joined: 8th May 2007
Location: World Wide Web
Posted: 19th May 2007 01:01
snapshot maybe, it could be that texture needs to be bright!

Ezykeyal
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Primordium
Posted: 19th May 2007 04:49
Ah yes, sorry.
Well a shadow is being cast on the bulbs itself which should not be.

Attachments

Login to view attachments
Gamers Gear
18
Years of Service
User Offline
Joined: 15th Jun 2006
Location: Sweden
Posted: 19th May 2007 04:51
Just add alot of lights around the bulbs, works for me anyway...

Gamers-Gear the only gear you need!
gps
19
Years of Service
User Offline
Joined: 16th Dec 2004
Location: England
Posted: 19th May 2007 05:41
For a static entity you need to use the shader 'illuminationmap.fx'

You'll need this line in your light's .fpe file...

effect = effectbank\illuminationmap\illuminationmap.fx

...and of course an illumination map

Remember to give your map the 'I' suffix, for instance 'light_I.tga' (assuming you texture map is 'light_D2.tga')

Hope this helps.

- Graham

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 19th May 2007 05:46
How do you make an illumination map?

Ezykeyal
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Primordium
Posted: 19th May 2007 13:44 Edited at: 19th May 2007 13:45
gps, that's exactly what I did and it fails to work for some reason.

I have 2 tga's, one is the actual texture for the entire lamp and another one that is completely black with only the light color in the right place which serves as the illumination map.

That's how it should work logically but I learned that nothing works logically in fps creator.
Strelok
17
Years of Service
User Offline
Joined: 16th Oct 2006
Location: In your cupboard.
Posted: 19th May 2007 14:28
Quote: "How do you make an illumination map?"

I think just like bump you only have two color...with will not cast shadow and black will do.
You can find a example at...
D:\program files\The Game Creators\FPS Creator\Files\texturebank\scifi\scenery\furniture\terminalA
then look at the terminal_a_I
Roger Wilco
19
Years of Service
User Offline
Joined: 6th Jul 2005
Location: In the Shadow of Chernobyl
Posted: 19th May 2007 15:38
Illumination maps in FPSC works sort of like alpha-maps, if you load up the texture and paint the bulb all white and the rest of the entity black, the bulb will show up not being affected by the shadows. You need to save the illumination map to a different file, called texture_I.tga for example. I find that when I use _I after the filename, it works quite well.

Also, if you're doing the illumination map in photoshop, make sure you don't save the file as a grayscale. PS likes converting files automatically if they don't contain any color information.

Hope this helped, at least a bit.

"Or perhaps we're just one of god's little jokes?"
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 19th May 2007 20:41
Thanks for the info.

Oakley Design
17
Years of Service
User Offline
Joined: 18th Jun 2007
Location: Uranus
Posted: 20th Jun 2007 01:02
I have tried creating an illumination map but with no success.
My colour texture is 'console1_D2.dds'. The illumination map is 'console1_I.dds'.

At first I got nothing, then suddenly it worked but the texture was randomly overlayed over the object which looked weird. Now it has gone completely as well as the colour map, leaving me with a big black blob on my screen! I have enabled full shader effects, the texture paths are correct, I have used the correct .FX shader... what is going wrong!?

Can anybody help?

--Welcome to Insanity--

Login to post a reply

Server time is: 2024-10-01 14:37:15
Your offset time is: 2024-10-01 14:37:15