iPhone lighting

Previous topic - Next topic

bigsofty

I had a tonne of trouble with the entity system lighting on iOS. The spots were created but not affected by the rest of the entity commands. I did finally overcome the wacky lighting but I can't remember the code changes I made specifically, as it's over a year ago and I don't have a dev license to test the code today. I marked some changes in the code but by no means all, I would use my entity version as is, if possible though.

The current entity system needs a mobile branch as it's not tailored for GLES enough to use IMHO.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Kitty Hello

so, it's ES issue. I made a 3D project with lighting the other day, and it worked very good.
I'll have to investigate why it doesn't work with the ES. Might be some matrix issue. Very strange, because I do all the math in GLBasic and it's the exact same code.

Crivens

QuoteThe current entity system needs a mobile branch as it's not tailored for GLES enough to use IMHO
Depends which mobile. It looks excellent on my Pre2.

QuoteI'll have to investigate why it doesn't work with the ES
Cool. It would be nice to keep in the shading :)

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.