Skip to content

Commit

Permalink
docs: anti-aliasing with FXAA
Browse files Browse the repository at this point in the history
  • Loading branch information
kuukitenshi committed Dec 17, 2024
1 parent 571c1af commit 8884c6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions content/0-5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ Collision detection between VoxelCollisionShapes :dim:`(@joaomanita)`
The engine was only able to able to detect collisons between boxes, now we can add a `VoxelCollisionShape <https://docs.cubosengine.org/classcubos_1_1engine_1_1VoxelCollisionShape.html>`
to decompose a voxel shape into multiple box collision shapes.

Anti-aliasing using FXAA technique :dim:`(@kuukitenshi)`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We introduced the FXAA (Fast Approximate Anti-Aliasing) technique to reduce jagged edges in the rendered images.
As you can see in the images below, the FXAA smooths out the visuals without the performance cost of traditional anti-aliasing methods.

.. image-comparison::
:before: {static}/images/0.5/cars_before.png
:after: {static}/images/0.5/cars_after.png

UI text element using MSDF for text rendering :dim:`(@mkuritsu)`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Binary file added content/images/0.5/cars_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/0.5/cars_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8884c6a

Please sign in to comment.