ZGameEditor Documentation
Community |
RenderTargetRenderTargetDefines a render target for rendering to texture. Make the render target active using the SetRenderTarget-component. Note: This feature needs a graphic card that supports FBOs (GL_EXT_framebuffer_object OpenGL extension). If your card does not support this then ZGE designer will display a message in the log on start up. Also note that each RenderTarget takes up a fair amount of video memory so don't use too many instances. PropertiesWidth
Height
CustomWidthCustomHeightClearBeforeUseAutoPowerOfTwoSet this property to make the actual size of the render target to be the next larger power of two. This makes it compatible with older ATI-drivers that doesn't support render targets of other sizes. ClearColor |