Page 1 of 1

Recompiling irrlicht

Posted: Sun Oct 03, 2010 7:03 pm
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?