OpenGL ES 1.x Shaders

一曲冷凌霜 提交于 2019-12-01 03:26:29

问题


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


回答1:


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 .




回答2:


From this post:

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




回答3:


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



来源:https://stackoverflow.com/questions/543948/opengl-es-1-x-shaders

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!