Results 1 to 3 of 3

Thread: RenderToTexture

  1. #1
    Senior Member Regular Contributor
    Join Date
    Jul 2003
    Location
    Bangalore, Karnataka, India
    Posts
    123

    RenderToTexture

    Dear Opengl Programmers,

    Where can we use RenderToTexture applications.
    Can we use it for rendering Bump Maps and other other mapping applications.Is it is same as the MRT concept used in other Graphical APIS.

    What are usual techniques used for RenderToTexture

    Thanks in advance

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: RenderToTexture

    Render to texture is used to render a scene to a texturre, insted to a screen. There are plenty of applications. Basically, you can use it to generate some textures (like reflection, refraction - you can render a scene to a texture and then put that texture on a mirror, or a water surface) or to post-process your image (tone-mapping, filters etc.). I have no idea what you mean by "rendering Bump Maps", but ye, you could create a bump map by rendering to a texture. To your second question: MRT just means that your shader can output more then one value, each to a different target (texture in your case). By constast, single rendering target allows you to render only to one texture at a moment.

    Hope it was understandable.

    P.S. What kind of project are you doing anyway? You always ask this strange, overly general questions. I though that someone like you, who works with OpenGL for some time now, should have grasped the basic concepts already?

  3. #3

    Re: RenderToTexture

    For example, full dynamic cube map in your application, need to render the whole scene into 6 textures.

    In <<GPU Gems>>, a guy from iXBT.com showed a tech called " Omnidirectional Shadow Mapping ", the same as render cube map.

    In an old implemention of realtime radiosity, then divided the whole screen into grid, then on each grid generate a cube map, all so is the R2Texture.

Similar Threads

  1. RenderToTexture
    By iris_raj in forum OpenGL: General
    Replies: 2
    Last Post: 09-27-2006, 11:11 PM
  2. Replies: 5
    Last Post: 04-14-2006, 05:03 AM
  3. Benchmarks on CopySubTexImage vs RenderToTexture-
    By V in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 04-04-2001, 06:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean