Adobe Molehill で線を引く方法を教えてください。OpenGL を使用していた場合は GL_LINES を使用しますが、モグラヒルは三角形しか描画できないようです。
乾杯
Adobe Molehill で線を引く方法を教えてください。OpenGL を使用していた場合は GL_LINES を使用しますが、モグラヒルは三角形しか描画できないようです。
乾杯
Molehill is triangles only, because only triangles are hardware accelerated on most consumer video cards. You can draw thin rectangle with two triangles. Not sure if Molehill 2D already supports lines, but it may be worth to look at.
三角形の 1 つのエッジに沿ってのみ描画するフラグメント シェーダーを作成できます。