Recompiling irrlicht

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
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Recompiling irrlicht

Post by Lonesome Ducky »

I've been struggling with this for a while. I need 8 textures per material in irrlicht to do my terrain splatting shader, but whenever I change

Code: Select all

#define _IRR_MATERIAL_MAX_TEXTURES_ 4

to

Code: Select all

#define _IRR_MATERIAL_MAX_TEXTURES_ 8
it recompiles fine, but when I run a program with irrlicht, it always crashes on driver->setMaterial (it crashes when I try anything above 4, but works great with 4 and below). Does anyone know why this is?
Post Reply