[solved] BaseWhitsNoLightNoDepthCheck...

Paulo

03-05-2007 00:55:59

Hi,

I have managed to get the latest PLSM2 from cvs to compile with Eihort, and got a terrain up and running fine with the release version of the dll, but the debug version gives me an error because it is trying to load a material called "BaseWhitsNoLightNoDepthCheck" which i dont have, does anyone know where this material is?

Btw, is the current cvs version of PLSM2 now 100% Eihort compatible or will i bump into problems in the future?

Thanks,
Paulo.

nindim

03-05-2007 02:45:46

I had this problem myself and took absolutely ages to figure out. Supposedly that material is made by the material manager.... but its specified in a file called colors.material I found. Not sure where it came from but having it makes everything work nicely. This only appeared when I upgraded to Eihort as well.


material BaseWhiteNoLightNoDepthCheckWrite
{
technique
{
pass
{
lighting off
colour_write off
depth_write off
cull_hardware none
}
}
}

material BaseWhiteNoLightNoDepthCheck
{
technique
{
pass
{
ambient 1.0 1.0 1.0
diffuse 1.0 1.0 1.0
depth_check off
}
}
}

material BaseRedNoLightNoDepthCheck
{
technique
{
pass
{
ambient 1.0 0.0 0.0
diffuse 1.0 0.0 0.0
depth_check off
}
}
}

material BaseGreenNoLightNoDepthCheck
{
technique
{
pass
{
ambient 0.0 1.0 0.0
diffuse 0.0 1.0 0.0
depth_check off
}
}
}

material BaseBlueNoLightNoDepthCheck
{
technique
{
pass
{
ambient 0.0 0.0 1.0
diffuse 0.0 0.0 1.0
depth_check off
}
}
}

Paulo

03-05-2007 16:39:28

Perfect, thank you very much :D