Posted By: fogman
Moar lights for bump.fx? - 11/15/10 17:38
Hola,
I´m very close to the first release of :schutzkontakt.
Close means not more than a week.
I´m using the normalmapping shader bump.fx that comes with gamestudio. This shader supports up to three dynamic lights.
However, three lights are too less because the player needs a flashlight.
Currently it´s a fast hack but it works surprisingly well - except for that ugly flickering that occurs whenever there are four lights in action.
I would like to have four lights supported, this should really be enough. I´ve already tried to add a fourth light, no luck so far, as I got no shader background.
Also I don´t really get the include / default.fx stuff.
Theoretically it should be easy to add another light, but I need some entry point.
So does anyone has an idea where I could start?
I´m very close to the first release of :schutzkontakt.
Close means not more than a week.
I´m using the normalmapping shader bump.fx that comes with gamestudio. This shader supports up to three dynamic lights.
However, three lights are too less because the player needs a flashlight.
Currently it´s a fast hack but it works surprisingly well - except for that ugly flickering that occurs whenever there are four lights in action.
I would like to have four lights supported, this should really be enough. I´ve already tried to add a fourth light, no luck so far, as I got no shader background.
Also I don´t really get the include / default.fx stuff.
Theoretically it should be easy to add another light, but I need some entry point.
So does anyone has an idea where I could start?