been wondering for a while why i cant get bump mapping or any varient of it to work. I presumed it was to do with the whole shaders not working at all thing, but now dark shader is working and the bump ones still didnt..
so i performed this test:
nWorldObjectID = GetFreeObjectID();
dbMakeObjectCube(nWorldObjectID, 10);
dbPositionObject(nWorldObjectID, dbCameraPositionX(), dbCameraPositionY() - 5, dbCameraPositionZ( + 80));
dbTextureObject(nWorldObjectID, 0, nTexID);
dbTextureObject(nWorldObjectID, 1, nTexID);
its just at the bottom of one of my world initialisation functions, hijacks some existing variables for this simple test. Anyway, the cube appears gray. if i remove the last texture object call it appears with the texture i expect - applying the same texture to stage 1 makes it appear gray (as if no textures at all).
Wrong object format? dodgey setting set somewhere in my engine? or darkgdk multiple texture stages currently broke?
Latest dgdk build, visual studio 2008 express. *face flumps on desk*