PDA

View Full Version : cg and floating point pbuffer textures...



graphicsMan
04-30-2003, 03:01 PM
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

jra101
04-30-2003, 03:04 PM
If you want to bind a render-to-texture pbuffer you need to call the wglBindTexImage function after calling cgGLEnableTextureParameter().