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 で glClearColor() を呼び出したときに、背景色を静的な色に設定するのではなく、テクスチャに設定する方法はありますか? または、glClearColor() 以外にそれを行うことができる別の方法はありますか?
画面をテクスチャにクリアすることはできません。あなたはできる:
画面サイズのテクスチャ付きクワッドを描画します。
FBOから画面にテクスチャをブリットします。
どちらでも動作します。