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.
現在、R8G8B8 浮動小数点レンダー ターゲットがあり、R24 ターゲットとして使用したいと考えています。コード
//cg out = float4(v, v, v, v);
0と1の間でクランプアウトするようです。
Cg で浮動小数点テクスチャを読み書きする適切な方法は何ですか?
OpenGL では、R32F や RGBA32F などの浮動小数点テクスチャ フォーマットを使用する必要があります。するとクランプが取れなくなります。D3Dでも同じだと思います。