I'm having a unspected reflection over my objects (mall.jpg). I would like a light more flat over all objects, keeping a same pattern.
The mall was drawed from a .OBJ file.
Follow below the code where I configure ambient light and a Light.
The mall was drawed from a .OBJ file.
Follow below the code where I configure ambient light and a Light.
Code Select
world = new World();
world.setAmbientLight(170, 170, 170);
light = new Light(world);
light.setIntensity(252, 252, 252);
// Positioning the light
SimpleVector sv = new SimpleVector();
sv.set(model3D.getTransformedCenter());
sv.y -= 90;
sv.z -= 90;
light.setPosition(sv);