Author Topic: Hardware doesn't suport light?  (Read 1495 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:

The  failed 2.3 result:

Is there a way to switch to sftware render (assuming the problem is a hardware limitation).??

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12256
    • View Profile
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.