Render to texture - dynamic cube map generation
hi,
I want to generate my cube map dynamically every frame. To save render time, it might be good to render the 6 cube faces directly to the textures, am I right?
Does anyone know how to render directly to cube map textures?
Thanks
There''s the ARB_pbuffer and ARB_render_texture extensions, if your video card supports them. If not then you''re stuck with rendering the scene first, then copying it to the texture.
Check out some of the stuff over @ nvidia''s site. Especially their Per Pixel attenuation demo, they have an entire class divoted to cube mapping
~Main
==
Colt "MainRoach" McAnlis
Programmer
www.badheat.com/sinewave
~Main
==
Colt "MainRoach" McAnlis
Programmer
www.badheat.com/sinewave
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement