Hello again!
I add code to HelloWorld:
public void onSurfaceChanged(GL10 gl, int w, int h) {
if (fb != null) {
fb.dispose();
}
fb = new FrameBuffer(gl, w, h);
if (master == null) {
world = new World();
world.setAmbientLight(20, 20, 20);
world.setFogging(World.FOGGING_ENABLED);
world.setFogParameters(40,0,0,0);
And now if I minimize app and resume it - fog disappears.
Before minimize:
(http://img708.imageshack.us/img708/1865/snap20110426005017.png)
After:
(http://img152.imageshack.us/img152/3852/snap20110426005026.png)
Anyone? ???
here more screenshots:
(http://img135.imageshack.us/img135/5859/snap20110426224514.png)
After resume:
(http://img52.imageshack.us/img52/5492/snap20110426224523.png)
I'll look into it...
Ok ;D
Please try this version. It should fix the problem: http://www.jpct.net/jpct-ae/download/alpha/jpct_ae.jar (http://www.jpct.net/jpct-ae/download/alpha/jpct_ae.jar)
Yes, now fog works properly. Thank you EgonOlsen!