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