尽管搜索了数小时,但我似乎无法找到明确的答案。有人可以告诉我发生了什么吗?我收到诸如“不支持版本 140”之类的错误消息。这是我的设备(Kindle Fire)还是 GL ES 2.0?我需要添加库吗?
最佳答案
OpenGL ES 2.0 spec指GLSL ES ,与 GLSL 不同。
规范 GLSL ES 规范说:
This version of the language is based on version 1.10 of the desktop GLSL. However it includes a number of features that are in version 1.20 but not 1.10.
查看规范以了解支持的内容。
关于java - 我可以在 OpenGL ES 2.0 中使用哪些版本的 GLSL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8872105/