Skip to content

Commit

Permalink
Update 3D lights and shadows documentation for 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou committed Feb 27, 2023
1 parent c8d0af5 commit bc3f3ac
Show file tree
Hide file tree
Showing 29 changed files with 392 additions and 118 deletions.
4 changes: 4 additions & 0 deletions tutorials/3d/3d_antialiasing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Note that alpha antialiasing is not used here:

.. image:: img/antialiasing_msaa_8x.webp

.. _doc_3d_antialiasing_taa:

Temporal antialiasing (TAA)
---------------------------

Expand Down Expand Up @@ -103,6 +105,8 @@ Comparison between no antialiasing (left) and TAA (right):

.. image:: img/antialiasing_taa.webp

.. _doc_3d_antialiasing_fxaa:

Fast approximate antialiasing (FXAA)
------------------------------------

Expand Down
Binary file added tutorials/3d/img/lights_and_shadows_acne.webp
Binary file not shown.
Binary file added tutorials/3d/img/lights_and_shadows_blur.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added tutorials/3d/img/lights_and_shadows_pcss.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed tutorials/3d/img/pssm_explained.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_atlas.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_bias.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_blocky.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_contact.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_omni_dp_cm.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_pcf1.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_pcf2.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_pssm.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_quadrants.png
Binary file not shown.
Binary file removed tutorials/3d/img/shadow_quadrants2.png
Binary file not shown.
11 changes: 8 additions & 3 deletions tutorials/3d/introduction_to_3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ When created from the Project Manager, the 3D environment has a default sky.

.. image:: img/tuto_3d8.png

Given how physically based rendering works, it is advised to always try to
Given how physically-based rendering works, it is advised to always try to
work with a default environment in order to provide indirect and reflected
light to your objects.

Expand Down Expand Up @@ -230,5 +230,10 @@ each viewport:
Lights
------

There is no limitation on the number of lights, nor of types of lights, in
Godot. As many as desired can be added (as long as performance allows).
The background environment emits some ambient light which appears on surfaces.
Still, without any light sources placed in the scene, the scene will appear
quite dark unless the background environment is very bright.

Most outdoor scenes have a directional light (the sun or moon), while indoor
scenes typically have several positional lights (lamps, torches, …).
See :ref:`doc_lights_and_shadows` for more information on setting up lights in Godot.
495 changes: 380 additions & 115 deletions tutorials/3d/lights_and_shadows.rst

Large diffs are not rendered by default.

0 comments on commit bc3f3ac

Please sign in to comment.