jPCT-AE - a 3d engine for Android => Support => Topic started by: DSLima90 on May 09, 2012, 09:59:24 pm

Title: Hardware doesn't suport light?
Post by: DSLima90 on May 09, 2012, 09:59:24 pm
I installed a simple project aplication. The aplication is suposed to render a sphere and a thin box, with a sun and a ambient light. the aplication is at most just a copy from the example provided in the site. problem is: When i run the app in my 3.2 android xoom it works fine, but when i run it on a 2.3 android devolpment kit, it runs without the light/shadow, so the objects look flat.

The shadowed/lightened result: http://imageshack.us/photo/my-images/840/86652933.png/

The  failed 2.3 result: http://imageshack.us/photo/my-images/269/img20120509163816.jpg/

Is there a way to switch to sftware render (assuming the problem is a hardware limitation).??
Title: Re: Hardware doesn't suport light?
Post by: EgonOlsen on May 09, 2012, 11:15:19 pm
I would guess that your 2.3 device IS using the software renderer...the same one that the emulator uses. Android's Pixelflinger. And that thing just plain sucks and is full of bugs and render flaws. To verify this, you can have a look at the log output...if it prints out "Pixelflinger" or similar when initializing things, you are doomed.