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.
データ量を節約してパフォーマンスを上げようとしています。iOS の OpenGL ES 2.0 でハーフフロートの頂点位置を使用できますか? サポートされていない場合、どのようなオプションがありますか?
はい、できますが、精度の低下に注意してください。
「highp」は、IEEE 754 32 ビット値を格納します。
「mediump」は [-65520, 65520] の範囲の数値を格納します。
範囲 [-2, 2) の 'lowp'
したがって、「highp」以外のものはおそらく歪みを引き起こします。