Author Topic: Hardware doesn't suport light?  (Read 764 times)

Offline DSLima90

  • byte
  • *
  • Posts: 1
    • View Profile
Hardware doesn't suport light?
« 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).??

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Hardware doesn't suport light?
« Reply #1 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.