OpenGL ES 1.x着色器 [英] OpenGL ES 1.x Shaders
问题描述
我试图找到如何为OpenGL ES 1.x(特别是iPhone)实现简单着色器的示例。我之前从未使用着色器,但我确实理解它们的用途。我想,一旦我能够在模拟器中加载一个简单的着色器,我就能从那里拿出它并做我需要做的事情。
感谢您的帮助,
~Eric
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
推荐答案
iPhone目前使用 OpenGL ES 1.1 ,它不支持可编程管道。 OpenGL ES 2.0似乎确实拥有它们,并且不与1.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 .
这篇关于OpenGL ES 1.x着色器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!