Skip to content

Commit

Permalink
fix: underline size
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Dec 20, 2024
1 parent d8ec330 commit 63819f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/0-5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ instead of:
Asset<Scene> SceneAsset = AnyAsset("uuid");
Option to use Shadow Normal Offset Bias algorithm :dim:`(@GalaxyCrush)`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We noticed that in some samples, the shadows had some shadow acne and/or peter panning artifacts. So, to improve it, we implemented the option of using the Shadow Normal Offset Bias algorithm, which improved the quality of the shadows and reduced these artifacts. To use the algorithm, the user simply has to assign a value to the normalOffsetScale field in the light casters `ShadowCaster <https://docs.cubosengine.org/structcubos_1_1engine_1_1ShadowCaster.html>`.

Resource to easily configure constants in the physics solver :dim:`(@GCeSilva)`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The physics solver had some constants that were hardcoded, which made it difficult to change them. Now we have a resource that allows the user to easily configure these constants.

Expand Down

0 comments on commit 63819f6

Please sign in to comment.