Author Topic: iOS, OpenGLES, Shaders and whatnot...  (Read 1854 times)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2646
    • View Profile
Ok, I am at the point that my rendering engine needs a little pizzas, I have intended to use pixel GLSL ES 2.0 Shaders but I am not in position to try them (temporary problems with renewing my dev licence). Are they implented? Has anyone tried to use them?

Many thanks,


Ian
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)

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #1 on: 2011-Mar-20 »
iphone startup code must be updated for this. let us add at the todo list.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2646
    • View Profile
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #2 on: 2011-Mar-20 »
You mean the GLES 2.0 init code ("[[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]") Trucidare?

Cheers,


Ian
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)

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #3 on: 2011-Mar-21 »
i mean the eagl init in case of which device is runing code and the function that compile shaders if you want some
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10725
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #4 on: 2011-Mar-21 »
So far I use EGL 1.1. The problem is, that the 2.0 (as far as I understand) works totally different.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2646
    • View Profile
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #5 on: 2011-Mar-21 »
The iOS platform could really do with an upadate Gernot, EGL 1.1 is getting pretty outdated, all though all iOS devices are back ward compatible with 1.1, the post 3Gs devices take a real performance and feature hit by not supporting the EGL 2.0.

Cheers,


Ian
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)

Offline XanthorXIII

  • Mr. Polyvector
  • ***
  • Posts: 197
    • View Profile
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #6 on: 2011-Mar-21 »
Still pretty impressed it's been running great so far on the older version but if the newer version 2 can give it a good boost, I'd say go for it.
Owlcat has wise

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2646
    • View Profile
Re: iOS, OpenGLES, Shaders and whatnot...
« Reply #7 on: 2011-Mar-21 »
GLES 1.1 has a fixed-function rendering pipeline, while GLES 2.0 has a programmable one. Going from one to the other is no small task, in this I am very sympathetic with the work that Gernot has to do. On the other hand, supporting 2.0, will allow extended feature support for all the new Android tablets, iPads, sPods, uber phones etc... and produce better looking, faster, GLBasic games.
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)