Browse Source

Merge pull request #4198 from pezcode/lights-metallic

Document addition of METALLIC to light() built-ins (pending #42548)
Nathan Lovato 4 years ago
parent
commit
62a8acf553
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tutorials/shaders/shader_reference/spatial_shader.rst

+ 2 - 0
tutorials/shaders/shader_reference/spatial_shader.rst

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