Skip to content

Commit

Permalink
Merge pull request #7875 from lemilonkh/patch-1
Browse files Browse the repository at this point in the history
Add documentation for render mode fog_disabled
  • Loading branch information
mhilbrunner authored Sep 10, 2023
2 parents 7fe92ad + ed7b037 commit 4cff84e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tutorials/3d/standard_material_3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ Disable Ambient Light
Makes the object not receive any kind of ambient lighting that would
otherwise light it.

Disable Fog
~~~~~~~~~~~

Makes the object unaffected by depth-based or volumetric fog. This is useful for particles or other additively blended materials that would otherwise show the shape of the mesh (even in places where it would be invisible without the fog).

Vertex Color
------------

Expand Down
2 changes: 2 additions & 0 deletions tutorials/shaders/shader_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Render modes
+-------------------------------+------------------------------------------------------------------------------------------------------+
| **alpha_to_coverage_and_one** | Alpha antialiasing mode, see `here <https://github.com/godotengine/godot/pull/40364>`_ for more. |
+-------------------------------+------------------------------------------------------------------------------------------------------+
| **fog_disabled** | Disable receiving depth-based or volumetric fog. Useful for blend_add materials like particles. |
+-------------------------------+------------------------------------------------------------------------------------------------------+

Built-ins
^^^^^^^^^
Expand Down

0 comments on commit 4cff84e

Please sign in to comment.