Blacklight?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Blacklight?

Post by 3DModelerMan »

Is there a way to have an actuall "Black" light? I mean one that would take away from the scenes brightness? It would be usefull for faked shadows. You could put one as an area light and parent it to your character. If their isn't already, then how can I do one?
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
geckoman
Posts: 143
Joined: Thu Nov 27, 2008 11:05 am
Location: Germany
Contact:

Post by geckoman »

Short answer: Shader
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Shaders?

Post by 3DModelerMan »

I meant for low end hardware that might not support shaders. But what's funny is that I just have been learning all about shaders, and you answer "use a shader" :lol: . Anyway would it work if I used negative RGB values? I can't seem to get them to go negative in Irredit :? .
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That would require non-normalized lighting, which is usually only available via shaders. What might be viable is projective texturing with signed additive combining.
Munger
Posts: 28
Joined: Sun Mar 04, 2007 11:39 am
Location: Tokyo

Post by Munger »

I haven't seen a consumer level fixed-function GL implementation that supports negative lighting (not that I check often).
Post Reply