www.jpct.net

jPCT - a 3d engine for Java => Bugs => Topic started by: Klaudiusz on August 29, 2007, 03:47:48 pm

Title: Clearing FrameBuffer when setRenderTarget is used
Post by: Klaudiusz on August 29, 2007, 03:47:48 pm
Hi Egon,

FrameBuffer.clear() method clears the whole FrameBuffer no matter how small texture is used in setRenderTarget.

Little step in the optimalisation process:)
Title: Re: Clearing FrameBuffer when setRenderTarget is used
Post by: EgonOlsen on August 29, 2007, 05:35:25 pm
Yes, but only when FBOs are not used or not available. I wouldn't consider this to be a bug. "Optimizing" this process makes no sense, because clearing the buffer is drop dead cheap nowadays.