Need NormalMap-Shader with unlimited lights!

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
Arthur
Posts: 11
Joined: Wed May 30, 2007 4:49 pm

Need NormalMap-Shader with unlimited lights!

Post by Arthur »

Hi,
has anybody a DX shader for NormalMApping with unlimited lights(with callback-exsample) please? Is it possible?

Arigatou gozaimashita!
MfG Arthur
Radikalizm
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Post by Radikalizm »

Normalmapping + lighting really isn't hard to write yourself, there are a lot of tutorials on how to do this available on various sites

Also, unlimited lights really isn't possible, especially not in a forward renderer
Lighting is very expensive in a forward renderer, so instead of trying to add more lights you should try to optimize your setup so you can get good results with a fixed light budget
Arthur
Posts: 11
Joined: Wed May 30, 2007 4:49 pm

Post by Arthur »

I try to make a level with normal maps and Torches, but the Irrlicht-Shader has only 2 lights so its realy less and if you see 5 Torches only 2 give light -.-

I already try to learn shader-programming but i never get it in my mind :(

Thats the reason i need help.

MfG Arthur
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

If you want, you can try a pre-alpha version of my IrrRenderer. Deferred rendering and normal maps. Working on parallax right now.
(Spot light are kinda bugged atm, it's on my to-do right after parallax. All other types of lights work.)
Also you get some post processing effects.

For a screen, take a look into the competition forum, i posted one just today.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
Arthur
Posts: 11
Joined: Wed May 30, 2007 4:49 pm

Post by Arthur »

Yeah looks realy good. Yes if you like you can send me. Im realy interesst in!

MfG Arthur
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

https://bitbucket.org/entity/irrrenderer/overview

The RenderTest is a demo, that shows all the features of the library, so refer to that one for documentation :)

Also, you'll have to compile it on your own.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
baiqian
Posts: 43
Joined: Sun Apr 06, 2008 2:29 pm

Post by baiqian »

It's awsome ~ If shadow map can added , it will be perfect. will you add shadow map effect into irrRenderer?
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Off course :)

I have some other work now, but it might require adding shadow maps to irrRenderer anyway, so it shouldn't take too long.

Thanks for trying it out :)
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
Post Reply