Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
Render to a Texture


 E-mail this product to a friend

Author:  DigiBen

This demonstrates rendering a spinning cube to a blank texture real-time, then using that texture each frame to map to a spinning quad. This can be used to simulate many types of blurring effects in 3D, such as motion and radial blurs. Check out our motion blur tutorial for an example of this method.

Functions Used:  glGenTextures(), glBindTexture(), memset(), glTexImage2D(), glTexParameteri(), new, delete, glCopyTexImage2D(), glViewport()


 
 
 


 Purchase Product
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums