Skip to content

Commit

Permalink
Document baking lightmaps on Android/web editor is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou committed Jul 14, 2024
1 parent 6842f41 commit 3450974
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tutorials/3d/global_illumination/using_lightmap_gi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ Visual comparison
but lower quality visuals. Notice the blurrier sun shadow in the top-right
corner.

Visual comparison
-----------------

Here are some comparisons of how LightmapGI vs. VoxelGI look. Notice that
lightmaps are more accurate, but also suffer from the fact
that lighting is on an unwrapped texture, so transitions and resolution may not
Expand All @@ -77,6 +74,12 @@ large open worlds without any need for baking.
Setting up
----------

.. warning::

Baking lightmaps in the Android and web editors is not supported due to
graphics API limitations on those devices. On Android and web platforms,
only *rendering* lightmaps that were baked on a desktop PC is supported.

First of all, before the lightmapper can do anything, the objects to be baked need
a UV2 layer and a texture size. A UV2 layer is a set of secondary texture coordinates
that ensures any face in the object has its own place in the UV map. Faces must
Expand Down

0 comments on commit 3450974

Please sign in to comment.