world - debugNode

G4rth

17-03-2007 18:11:04

Hey

When I set debug to true for the world it crahses at,

debugMat->getBestTechnique()->getPass(0)->setVertexColourTracking(Ogre::TVC_AMBIENT|Ogre::TVC_DIFFUSE);

when trying to create the material.

Is BaseWhiteNoLighting a default material or do I have to create a script for it?

Thanks

betajaen

17-03-2007 18:13:32

Yeah, you better had..Just a material with ambient set to 1 1 1

G4rth

17-03-2007 18:17:48

It actually is definded internally in Ogre i think, I needed to add the NxOgre.debugNode material. Working now.

Shot