Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: multi pass shaders ?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jan 2002
    Location
    France
    Posts
    129

    multi pass shaders ?

    talking about "multi pass".. is there really a way to develop true multi pass fragment shaders ? Since it is impossible to read back from the framebuffer, or transmit values from one fragment pass to the next fragment pass, how can we talk about multi pass beyond the simple color blend provided by opengl core ?

    I heard that ashli could decompose shaders in different pass. how is this possible ? how can fragments shaders receives values from the previous pass ? (and avoiding pbuffer, wich can be really slow if you have to change the context hundred times for a single image).

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Cologne, Germany
    Posts
    27

    Re: multi pass shaders ?

    Hi,

    as far as I know, render-to-texture (currently using pbuffers) is your only option. Hopefully, the new RTT-Extension will be out soon.

    Jan

  3. #3
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Location
    Stockholm, Sweden
    Posts
    2,345

    Re: multi pass shaders ?

    Ashli uses render targets to pass data along to the next pass.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Jan 2002
    Location
    France
    Posts
    129

    Re: multi pass shaders ?

    "the new RTT-Extension": Render To Target ?

    "Ashli uses render targets": what do you mean ? PBuffer/Render to texture ? Or Render To Target extension ? In the last case, isn't this a non yet implemented feature ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •