Hello again.
I have some problems with the lighting / shading: There appear bands of dark points in all the objects.
http://perso.wanadoo.es/o_o_c/screenshots/Screenshot_1.jpg
http://perso.wanadoo.es/o_o_c/screenshots/Screenshot_3.jpg
http://perso.wanadoo.es/o_o_c/screenshots/Screenshot_5.jpg
http://perso.wanadoo.es/o_o_c/screenshots/Screenshot_6.jpg
I have tried to fit some parameters but I do not manage to eliminate this effect. In the PC one is OK. This, only happens in the android. So to every change that I do I have to install again.
This one is the code that concerns these materials:
private var _light:DirectionalLight;
private var _lightPicker1:StaticLightPicker;
private var _shadowMapMethod1:FilteredShadowMapMethod;
private var _floorMaterial:TextureMaterial;
private var _luigiMaterial:ColorMaterial;
//setup the lights for the scene
_light = new DirectionalLight(0., -0.7, -0.7);
_light.ambient = 0.3;
_light.specular = 0.8;
_view.scene.addChild(_light);
_lightPicker1 = new StaticLightPicker([_light]);
_shadowMapMethod1 = new FilteredShadowMapMethod(_light);
_shadowMapMethod1.epsilon = 0.1;
_shadowMapMethod1.alpha = 0.5;
//setup floor material
_floorMaterial = new TextureMaterial(Cast.bitmapTexture(FloorDiffuse));
_floorMaterial.lightPicker = _lightPicker1;
_floorMaterial.shadowMethod = _shadowMapMethod1;
//setup Luigi material
_luigiMaterial = new ColorMaterial(0xff66ff);
_luigiMaterial.lightPicker = _lightPicker1;
_luigiMaterial.specular = 0.8;
_luigiMaterial.specularColor = 0xffffff;
_luigiMaterial.ambient = .8;
_luigiMaterial.shadowMethod = _shadowMapMethod1;
Some suggestion please?