thank you
I guess all I need to do is call the code below when shadows are disabled. when enabling seems as ShadowHelper automatically enables shadow map again.
shadowHelper.getShadowMap().setEnabled(false);
I first thought that adjusting the far plane might solve it myself, but that's bogus. The projection of the depth map happens for all receivers and it has nothing to do with the far plane. So that doesn't help.
Yes, forum notifier email said me that
in my tries, when far plane is set to a low value shadows just disappear. just for curiosity, how is shadow rendering related with far plane?
About disabling shadows for single polygons: It might be doable by setting the textures per polygon, but that doesn't sound very efficient and it will definitely stop working once your compile your objects or on Android.
you will remember, I already do something similar to that, it works and performs nice even on Nexus One class devices
all my tiles are indeed a couple of large merged objects. to hide a tile or item (quite often) I sent its vertices to nowhere via vertex controller. to change texture of a tile (seldom) set texture of polygons via PolygonManager.
will changing/disabling second layer texture be much different?
but I'm not pretty sure how to do it? I guess I need to use
PolygonManager.setPolygonTexture(polyID, TextureInfo) but I don't know how to get the TextureInfo referencing shadow map.