Author Topic: default shader lighting problem  (Read 2005 times)

Offline MichaelJPCT

  • long
  • ***
  • Posts: 140
    • View Profile
Re: default shader lighting problem
« Reply #30 on: September 10, 2016, 01:52:47 pm »
it seems to work correctly like the desktop version now. thanks.
i see the specTerm param is gone, but i never knew what it was - it didn't make difference in my desktop app.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: default shader lighting problem
« Reply #31 on: September 10, 2016, 07:56:04 pm »
It wasn't used in the Android version anyway. I'll check the desktop version, if it still has any use in that one.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: default shader lighting problem
« Reply #32 on: September 20, 2016, 10:15:03 pm »
I've updated the beta jar: http://jpct.de/download/beta/jpct_ae.jar
The fixed shaders were too large to compile on Vivante GPUs and crashed the VM when trying. So I got myself a cheap, used Galaxy Tab3 to debug it and finally fixed the problem by using some different shaders for Vivante based devices. This is the first time that I had to do that (use different shaders, not buy a device to debug stuff...I did that several times... ;)).
« Last Edit: September 20, 2016, 11:00:48 pm by EgonOlsen »