Per-Pixel Lighting Problem

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
iam13013
Posts: 31
Joined: Sun Dec 04, 2005 11:06 pm

Per-Pixel Lighting Problem

Post by iam13013 »

I am trying to emplement per-pixel lighting on my cave model using the techniques shown in the example. However, when I try to run it I get the following error:

Error: Normal map renderer only supports vertices of type EVT_TANGENTS.

Is this a problem with the actual model, or is there a different way of loading it that I am supposed to use?
Thanks in advance....
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

read the example again! it uses the mesh manipulator to convert the mesh to a mesh with tangents
http://irrlicht.sourceforge.net/tut011.html
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply