Compositor: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 372: Line 372:
|}
|}


Passes can render to a buffer (Render to Texture), to several buffers (Multiple Render Targets) or directly to the framebuffer. This is accomplished by the <code><attachment/></code> tag. Possible parameters of an attachment are:
Passes can render to a buffer (Render to Texture), to several buffers (Multiple Render Targets) or directly to the framebuffer. This is accomplished by the <code><attachment></code> tag. Possible parameters of an attachment are:


{| class="wikitable" style="text-align: center; font-size: 85%; width: auto; table-layout: fixed;
{| class="wikitable" style="text-align: center; font-size: 85%; width: auto; table-layout: fixed;
Line 389: Line 389:
! scope="row"| <tt>component</tt>
! scope="row"| <tt>component</tt>
| {{No}}
| {{No}}
| <tt>color0</tt> to <tt>color15, depth, stencil, depth-stencil</tt>
| <tt>color, color0</tt> to <tt>color15, depth, stencil, depth-stencil</tt>
|  
|  
| FBO attachment point
| FBO attachment point
Line 424: Line 424:
|}
|}


Passes can also receive buffers as input and use them in their shaders. This is accomplished by the <code><binding/></code> tag, which has the following parameters:
Passes can also receive buffers as input and use them in their shaders. This is accomplished by the <code><binding></code> tag, which has the following parameters:


{| class="wikitable" style="text-align: center; font-size: 85%; width: auto; table-layout: fixed;
{| class="wikitable" style="text-align: center; font-size: 85%; width: auto; table-layout: fixed;
343

edits

Navigation menu