OpenGL ES 1.x Shaders

2019-02-17 17:38发布

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

3条回答
时光不老,我们不散
2楼-- · 2019-02-17 18:17

From this post:

The pixel shader of the iP* platform is programmed via texture combiners.

查看更多
够拽才男人
3楼-- · 2019-02-17 18:29

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 .

查看更多
狗以群分
4楼-- · 2019-02-17 18:31

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

查看更多
登录 后发表回答