Add documentation for render mode fog_disabled and Disable Fog in BaseMaterial3D

This commit is contained in:
Milan Gruner
2023-09-04 11:56:19 +02:00
committed by Milan Gruner
parent b7db4dbcaa
commit ed7b0374cc
2 changed files with 7 additions and 0 deletions

View File

@@ -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
------------

View File

@@ -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
^^^^^^^^^