Shadows and CHC causes terrain/camera to break

manxnakur

06-12-2007 23:27:03

Hi,

I am trying to use CHC with shadows. I've enables the shadows like this:

mSceneMgr->setShadowTechnique (SHADOWTYPE_TEXTURE_MODULATIVE);

and then I enable the culling like this:

String cull_mode("CHC");
bool test = mSceneMgr->setOption("setCullingMode", &cull_mode);


I get this problem:



This doesn't occur when i use VIEW_FRUSTUM_DIRECT.

Hope someone can help!


Thanks
Ankur

P.S. In the PLSM2 demo, the application seems to be hiding the pages/tiles depending on the camera distance as well as what the camera can see. How can i do this?

Highway

25-02-2008 18:37:56

P.S. In the PLSM2 demo, the application seems to be hiding the pages/tiles depending on the camera distance as well as what the camera can see. How can i do this?

Thats the same question I have ;), hopefully someone responds to that issue