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.

FPSC Classic Product Chat / lights making doors glow

Author
Message
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 7th Jul 2009 22:09
hey all, sorry if this is a nooby question, but how can you stop doors from "glowing" when there is a light behind them? becuase i'm trying to make an atmospheric horror game and having lots of dark, creepy boxes and static entites put next to a glowing green door kinda makes it look stupid, ecspecially when the light in the room you're in is different to the light the door is making.

thanks.

Coming soon: what lies beneath. (no thread will be made)
Dark Goblin
18
Years of Service
User Offline
Joined: 19th May 2006
Location:
Posted: 7th Jul 2009 22:24
just put the light so it makes sense.

there is no way to prevent the glow of a door.

... efxMod Developer!
JZ28
15
Years of Service
User Offline
Joined: 2nd Feb 2009
Location:
Posted: 8th Jul 2009 04:28
you could apply a shader to the door to make it look a little better but there is nothing in place yet to totally fix this.

Hate no one, for hate is a starving beast who has just found its prey.
djmaster
User Banned
Posted: 8th Jul 2009 11:13
Plystire fixed this problem in the latest Ply's Mod.

[href]http://chargedstudios.netne.net/index.htm[href]
"Im British you muppet!"-Psycho
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 8th Jul 2009 13:58
Quote: "Plystire fixed this problem in the latest Ply's Mod.
"


Nope he didnt not for doors, he did for dynamc entities. Just not doors.

* Suggestion, add illumnationmap.

Ekipshi
15
Years of Service
User Offline
Joined: 20th May 2009
Location:
Posted: 8th Jul 2009 16:21
Isn't a door a dynamic entity?
Weird that the door wouldn't work and other dynamic entities do?

Just wonderin


http://forum.thegamecreators.com/?m=forum_view&t=151865&b=25
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 8th Jul 2009 18:07
Yeah i know, but it didnt work on them. Dont ask me why.



shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 8th Jul 2009 20:19
ok, thanks guys, it doesn't look that bad, so i'll keep it as it is.
thanks for the quick replys though.

Coming soon: what lies beneath. (no thread will be made)
Ekipshi
15
Years of Service
User Offline
Joined: 20th May 2009
Location:
Posted: 8th Jul 2009 20:24
One option may be to turn off dynamic lighting, but then everything may end up being too dark

Just a thought


http://forum.thegamecreators.com/?m=forum_view&t=151865&b=25
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 8th Jul 2009 20:35
yeah, i really need dynamic lighting, so i'm afriad that's a no.

Coming soon: what lies beneath.
check out the official thread: http://forum.thegamecreators.com/?m=forum_view&t=153893&b=25
Bigsnake
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: England
Posted: 8th Jul 2009 22:40
Try a visual mod ? EfxMod , Wizmod , PLYS mod also has it I think

Your signature has been erased by a mod - no bigger than 600x120 please
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 9th Jul 2009 06:12
The reason doors glow when a light is on one side is because of the way Lee made the lighting system for dynamic entities.


Here's how it works:
A dynamic entity is near a light (a door, for example), the system will "coat" the entity in the color of the light and make it brighter or darker depending on how far away the light is fromt he entity.
Since the entity is "coated" in the light, that means the ENTIRE entity will be bright and not just the side that the light is facing.

If there are two or more lights near the entity, then the system calculates the "average color" and "average distance to the entity" of the two lights, and then uses the averages for coating the entity in a bright color.

This is also used for providing information to shaders. The shaders are not given "light information", they are given "average light information". The perk to using shaders, though, is that the entity doesn't have to be COMPLETELY coated in light, and only the sides effected by the average light are effected.


So there you have it.. use a shader and your problem will be solved. Specifically, use a "Bump" or "Normal Mapping" shader which are shaders that run mainly off of lighting information.




The one and only,


Scurvy Lobster
18
Years of Service
User Offline
Joined: 3rd Mar 2006
Location: Denmark
Posted: 9th Jul 2009 12:01
Thanks Plystire! Gives me something to try in my Sands of Myth project where I have glowing doors that needs fixing

Running my latest game superbly on FPSC and Project Blue Mod.
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 9th Jul 2009 18:21
thanks for that ply but my comp is no where near good enough for shaders. it's a bummer, but i'll just have to live with it.

Coming soon: what lies beneath.
check out the official thread: http://forum.thegamecreators.com/?m=forum_view&t=153893&b=25
Ekipshi
15
Years of Service
User Offline
Joined: 20th May 2009
Location:
Posted: 9th Jul 2009 18:33
Huh, I never knew that Ply

Thanks for the heads up


http://forum.thegamecreators.com/?m=forum_view&t=151865&b=25

Login to post a reply

Server time is: 2024-10-12 19:14:40
Your offset time is: 2024-10-12 19:14:40