Adding bump mapping to Quake 3 shaders?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
GriffinEndurance
Posts: 6
Joined: Tue Jul 13, 2010 8:42 pm
Location: United Kingdom
Contact:

Adding bump mapping to Quake 3 shaders?

Post by GriffinEndurance »

Hey all.

I've got to the stage now where I have a basic shell loading various quake 3 .bsp mesh's and I have a question before I continue. Does anyone know how to get the bump mapping and parallax mapping working with quake 3 shader files. I'd like to add it in as a "surfacepalm" that will automatically look for the heightmap by using the shaders texture name plus "_bump". Just thought I would ask if anyone has ever used this approach before and can give me some pointers or if anyone has successfully gotten bump mapping working with quake 3 shaders. I did find this page on the wiki : http://www.irrlicht3d.org/wiki/index.ph ... Meshloader

but it seems incomplete.

Any thoughts or hints as to how I can do this would be appreciated.
Thanks for your time.
achpile
Posts: 5
Joined: Mon Oct 27, 2014 7:21 am

Re: Adding bump mapping to Quake 3 shaders?

Post by achpile »

Is there still no article/post about it? :(
The_Glitch
Competition winner
Posts: 523
Joined: Tue Jan 15, 2013 6:36 pm

Re: Adding bump mapping to Quake 3 shaders?

Post by The_Glitch »

I doubt it would be hard, it seems that Irrlicht is using a basic lightmap shader, all you would really need to do the easy cheap way would be to find the shader or material that Irrlicht uses for Quake 3 and just extend that shader.
Post Reply