Skip to content

Commit

Permalink
Document addition of METALLIC to light() built-ins
Browse files Browse the repository at this point in the history
  • Loading branch information
pezcode committed Oct 4, 2020
1 parent 75303d7 commit 59c621f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorials/shading/shading_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ If you want the lights to add together, add the light contribution to ``DIFFUSE_
| out float **ALPHA** | Alpha (0..1); if written to, the material will go |
| | to the transparent pipeline. |
+-----------------------------------+-----------------------------------------------------+
| in float **METALLIC** | Metallic. |
+-----------------------------------+-----------------------------------------------------+
| in float **ROUGHNESS** | Roughness. |
+-----------------------------------+-----------------------------------------------------+
| in vec3 **TRANSMISSION** | Transmission mask from fragment function. |
Expand Down

0 comments on commit 59c621f

Please sign in to comment.