Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tutorials/shaders/shader_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,10 @@ If you want the lights to add together, add the light contribution to ``DIFFUSE_
+-----------------------------------+-----------------------------------------------------+
| in vec3 **ALBEDO** | Base albedo. |
+-----------------------------------+-----------------------------------------------------+
| in vec3 **LIGHT_COLOR** | Color of light multiplied by energy. |
| in vec3 **LIGHT_COLOR** | Color of light multiplied by ``energy * PI``. |
| | The ``PI`` multiplication is present because |
| | physically-based lighting models include a |
| | division by ``PI``. |
+-----------------------------------+-----------------------------------------------------+
| out float **ALPHA** | Alpha (0..1); if written to, the material will go |
| | to the transparent pipeline. |
Expand Down