Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

3D Anti-Aliasing Demo

An asset by Godot Engine
The page banner background of a mountain and forest
3D Anti-Aliasing Demo hero image

Quick Information

0 ratings
3D Anti-Aliasing Demo icon image
Godot Engine
3D Anti-Aliasing Demo

This project showcases the various 3D antialiasing techniques supported by Godot.- Multisample antialiasing (MSAA): High quality, high performance cost. Does not blur the image.- Fast approximate antialiasing (FXAA): Medium quality, low performance cost. Slightly blurs the image.- Temporal antialiasing (TAA): High-quality, low performance cost. Slightly blurs the image (but less so than FXAA).- Supersampling (SSAA): The highest-quality technique, but also the most expensive. Does not blur the image.- Alpha antialiasing: Applied on certain materials in the demo, available in two modes (Alpha Edge Blend and Alpha Edge Clip). This is most effective when MSAA is enabled, as Godot enables alpha-to-coverage rendering on the material in this case. When MSAA is disabled, a fixed dithering pattern is applied on the edge of transparent areas on the material.Godot allows using multiple antialiasing techniques at the same time. This can be useful to obtain the best possible quality, or to find a better performance tradeoff.A resolution scale slider is also provided. When set below 100%, AMD FidelityFX Super Resolution 1.0 upscaling can be enabled to improve visuals compared to traditional bilinear filtering.Language: GDScriptRenderer: Forward+

Supported Engine Version
4.2
Version String
4.2-31d1c0c
License Version
MIT
Support Level
featured
Modified Date
1 year ago
Git URL
Issue URL

3D Anti-Aliasing

This project showcases the various 3D antialiasing techniques supported by Godot.

  • Multisample antialiasing (MSAA): High quality, high performance cost. Does not blur the image.
    • Does not affect shader-induced aliasing (such as specular aliasing) or alpha scissor materials, so these will remain aliased.
  • Fast approximate antialiasing (FXAA): Medium quality, low performance cost. Slightly blurs the image.
  • Temporal antialiasing (TAA): High-quality, low performance cost. Slightly blurs the image (but less so than FXAA).
    • Antialiasing quality is worse on fast-moving objects than other methods, especially at lower framerates since the TAA won't have enough time to converge on those objects. You can use the FPS limit setting provided when TAA is enabled to compare quality between different framerates (provided your graphics card can keep up).
    • Can introduce ghosting artifacts on moving objects, especially if motion vectors are not correctly generated from a given material shader.
  • Supersampling (SSAA): The highest-quality technique, but also the most expensive. Does not blur the image.
    • 200% resolution scale is equivalent to 4× SSAA, as each dimension is doubled. For example, if running in a 1920×1080 window at 200% render scale, the 3D framebuffer will be 3840×2160.
    • SSAA can be used together with FXAA or TAA to counter the blurring added by those algorithms, while further improving antialiasing quality.
  • Alpha antialiasing: Applied on certain materials in the demo, available in two modes (Alpha Edge Blend and Alpha Edge Clip). This is most effective when MSAA is enabled, as Godot enables alpha-to-coverage rendering on the material in this case. When MSAA is disabled, a fixed dithering pattern is applied on the edge of transparent areas on the material.

Godot allows using multiple antialiasing techniques at the same time. This can be useful to obtain the best possible quality, or to find a better performance tradeoff.

A resolution scale slider is also provided. When set below 100%, AMD FidelityFX Super Resolution 1.0 upscaling can be enabled to improve visuals compared to traditional bilinear filtering.

Note

AMD FidelityFX Super Resolution 1.0 is not an antialiasing technique. It works best when used at the same time as another antialiasing method.

Language: GDScript

Renderer: Forward+

Screenshots

README Screenshot

Licenses

Files in the polyhaven/ folder are downloaded from https://polyhaven.com/a/dutch_ship_medium and are licensed under CC0 1.0 Universal.

This project showcases the various 3D antialiasing techniques supported by Godot.

- Multisample antialiasing (MSAA): High quality, high performance cost. Does not blur the image.
- Fast approximate antialiasing (FXAA): Medium quality, low performance cost. Slightly blurs the image.
- Temporal antialiasing (TAA): High-quality, low performance cost. Slightly blurs the image (but less so than FXAA).
- Supersampling (SSAA): The highest-quality technique, but also the most expensive. Does not blur the image.
- Alpha antialiasing: Applied on certain materials in the demo, available in two modes (Alpha Edge Blend and Alpha Edge Clip). This is most effective when MSAA is enabled, as Godot enables alpha-to-coverage rendering on the material in this case. When MSAA is disabled, a fixed dithering pattern is applied on the edge of transparent areas on the material.

Godot allows using multiple antialiasing techniques at the same time. This can be useful to obtain the best possible quality, or to find a better performance tradeoff.

A resolution scale slider is also provided. When set below 100%, AMD FidelityFX Super Resolution 1.0 upscaling can be enabled to improve visuals compared to traditional bilinear filtering.

Language: GDScript

Renderer: Forward+

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
3D Anti-Aliasing Demo icon image
Godot Engine
3D Anti-Aliasing Demo

This project showcases the various 3D antialiasing techniques supported by Godot.- Multisample antialiasing (MSAA): High quality, high performance cost. Does not blur the image.- Fast approximate antialiasing (FXAA): Medium quality, low performance cost. Slightly blurs the image.- Temporal antialiasing (TAA): High-quality, low performance cost. Slightly blurs the image (but less so than FXAA).- Supersampling (SSAA): The highest-quality technique, but also the most expensive. Does not blur the image.- Alpha antialiasing: Applied on certain materials in the demo, available in two modes (Alpha Edge Blend and Alpha Edge Clip). This is most effective when MSAA is enabled, as Godot enables alpha-to-coverage rendering on the material in this case. When MSAA is disabled, a fixed dithering pattern is applied on the edge of transparent areas on the material.Godot allows using multiple antialiasing techniques at the same time. This can be useful to obtain the best possible quality, or to find a better performance tradeoff.A resolution scale slider is also provided. When set below 100%, AMD FidelityFX Super Resolution 1.0 upscaling can be enabled to improve visuals compared to traditional bilinear filtering.Language: GDScriptRenderer: Forward+

Supported Engine Version
4.2
Version String
4.2-31d1c0c
License Version
MIT
Support Level
featured
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers