Problem With Shader

Quorthon3D

04-02-2009 19:10:26

Hi.

I'm using paged geometry on my app. I tried load a material with Shader and I got the following error:

Error configuring batched geometry transitions, If you're using materials with custom vertex shaders, they will need to implement fade transitions to be compatible with BatchPage, in BatchPage::_updateShaders

Does someone know how I call _updateShaders, because I haven't a BatchPage object, I use it only this part:

mTrees->addDetailLevel<Forests::BatchPage>(maxRange, distance);

help.
thanks!