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.
LWJGL の小惑星の例からのテクスチャ ローダーがあります。提供する 2 つのテクスチャをロードし、2 つの異なる textureID を与えますが、それらをバインドして立方体に描画すると、立方体に 1 つのテクスチャのみが表示され、残りは描画されません。
編集:私はGL_TEXTURE_2DマルチテクスチャリングなしでglBindTextureの基本を使用しています
glBegin()/glEnd()ブロック内にテクスチャをバインドすることはできません。始める前にそれをしなければなりません。
glBegin()
glEnd()