Hi all -
Normally when using Cg, you call cgGLEnableTextureParameter() when you want to enable a texture. If you are binding a floating point pbuffer instead, is this handled by Cg?
Thanks,
Brian
Hi all -
Normally when using Cg, you call cgGLEnableTextureParameter() when you want to enable a texture. If you are binding a floating point pbuffer instead, is this handled by Cg?
Thanks,
Brian
If you want to bind a render-to-texture pbuffer you need to call the wglBindTexImage function after calling cgGLEnableTextureParameter().