Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
renderpass [2020/01/09 14:07] – [Rendering Method] adminrenderpass [2020/01/09 14:09] – [Start / End] admin
Line 170: Line 170:
           [TRenderTarget.Color_0, TRenderTarget.Depth],            [TRenderTarget.Color_0, TRenderTarget.Depth], 
           TAlphaColorF.Create(0, 0, 0, 0), 0, 0);           TAlphaColorF.Create(0, 0, 0, 0), 0, 0);
-        FFBO.Bind();+           
 +        // prepare framebufferobject for multiple render targets
         FFBO.Prepare([TRenderTarget.Color_0, TRenderTarget.Depth]);                 FFBO.Prepare([TRenderTarget.Color_0, TRenderTarget.Depth]);        
       end;       end;
Line 176: Line 177:
     OnPassEnd:     OnPassEnd:
       begin               begin        
-        AContext.SetCameraMatrix(FPrevCamView); +        AContext.SetCameraMatrix(FPrevCamView);   
-         +
-        FFBO.Unbind();        +
       end;       end;
   end;   end;