Adding materials

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.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

ProjectIRR wrote:Phew! So Irrlicht isn't supposed to pick up the shaders from the .obj, just the flat picture texture?
Shaders are not even exported into the .obj file. I don't know if there is any format exporting them already - I think most teams use some custom plugins/exporters if they have to do something like that. But also - you can't really do the same stuff in realtime you can do with non-realtime rendering, all you can do is trying to get approximately similar results.
ProjectIRR wrote: btw, when you were talking about lightmaping, were you talking about baking the texture in maya while it had the shader, or in another program with shaders? Do you have an example of that looks?
Yes, baking in Maya - or in some Editor which supports doing that.
For example: http://www.michaelzeilfelder.de/lightmaps.htm
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
ProjectIRR
Posts: 21
Joined: Mon Oct 26, 2009 3:21 am

Post by ProjectIRR »

Ah :) ok.

I'm not sure how to load a lightmap and normal textures at the same time, but I'll finish the tutorials before I worry about that. Thank you :) I think I understand it now.
Post Reply