Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OpenGL ES 2.0 で Cg シェーダー言語を使用できますか?
OpenGL ES 2.0 で GLSL を、OpenGL で Cg を使用できることは知っていますが、OpenGL ES の Cg サポートがあるかどうかは疑問です。
もう答えは分かっていると思いますが、OpenGL ES 2.0 は GLSL のみをサポートしています。さらに、GLSL の修正版 (最も顕著な変更は精度修飾子) を使用するため、Cg から GLSL への変換ツール (Nvidia が提供するものなど) は、そのまま使用できるコードを生成する可能性は低いです。しかし、それは非常に近いはずです。