Reputation: 3086
I am trying to find examples of how to implement a simple shader for OpenGL ES 1.x (specifically for the iPhone). I have never worked with shaders before, but I do understand what they are used for. I think that once I am able to load a simple shader in the simulator I will be able to take it from there and do what I need to do. Thanks for the help, ~Eric
Upvotes: 5
Views: 8432
Reputation: 455
From this post:
The pixel shader of the iP* platform is programmed via texture combiners.
Upvotes: 2
Reputation: 78914
The iPhone currently uses OpenGL ES 1.1 which doesn't support a programmable pipeline. OpenGL ES 2.0 does seem to have them though and also be not compatible with 1.1 .
Upvotes: 11
Reputation: 7799
My understanding is that the hardware shaders on the iPhone are already being used by the OS for its features in CoreAnimation and OpenGL ES. This means they are not available to you.
Are you looking for a software shader? Try http://unity3d.com/unity/features/shaders
Upvotes: 1