From 59c621fc9bac796dd089cd25db7078f49f3e95ad Mon Sep 17 00:00:00 2001 From: Pablo Escobar Date: Sun, 4 Oct 2020 04:14:21 +0200 Subject: [PATCH] Document addition of METALLIC to light() built-ins --- tutorials/shading/shading_reference/spatial_shader.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tutorials/shading/shading_reference/spatial_shader.rst b/tutorials/shading/shading_reference/spatial_shader.rst index ed47e1353645..d8580841d196 100644 --- a/tutorials/shading/shading_reference/spatial_shader.rst +++ b/tutorials/shading/shading_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. |