Difference between revisions of "Horde3D Wiki:HOWTO"

From Horde3D Wiki
Jump to: navigation, search
(New page: The HOWTO contains quick answers for smaller problems. __TOC__ == How to enable anti-aliasing (MSAA) == Anti-aliasing can only be enabled for render targets. The RenderTarget element ...)
(No difference)

Revision as of 13:19, 3 October 2008

The HOWTO contains quick answers for smaller problems.


How to enable anti-aliasing (MSAA)

Anti-aliasing can only be enabled for render targets. The RenderTarget element used in Pipeline resources has an attribute maxSamples which defines the maximum number of samples used for MSAA. The actual number of samples is controlled by the engine option SampleCount. This makes it possible to control the anti-aliasing quality from the application. If SampleCount is set to zero, MSAA is disabled. Note that the hardware needs to support the EXT_framebuffer_multisample extension in order for the MSAA to work.