OpenGL ES 1.x 着色器 [英] OpenGL ES 1.x Shaders

查看:31
本文介绍了OpenGL ES 1.x 着色器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试查找如何为 OpenGL ES 1.x(特别是 iPhone)实现简单着色器的示例.我以前从未使用过着色器,但我确实了解它们的用途.我认为一旦我能够在模拟器中加载一个简单的着色器,我就可以从那里获取它并做我需要做的事情.谢谢您的帮助,~埃里克

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆