OpenGL ES 1.x 着色器

发布于 2024-07-13 18:35:10 字数 141 浏览 6 评论 0原文

我正在尝试寻找如何为 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

风柔一江水 2024-07-20 18:35:10

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 .

删除→记忆 2024-07-20 18:35:10

来自这篇文章

iP* 平台的像素着色器通过纹理组合器进行编程。

From this post:

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

扎心 2024-07-20 18:35:10

我的理解是,iPhone 上的硬件着色器已经被操作系统用于 CoreAnimation 和 OpenGL ES 中的功能。 这意味着您无法使用它们。

您在寻找着色器软件吗? 尝试 http://unity3d.com/unity/features/shaders

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文