From 91d77a80fac99a30eb2d9a8fb879f659de87beb9 Mon Sep 17 00:00:00 2001 From: Andreas Raddau Date: Thu, 2 Mar 2023 13:40:05 +0100 Subject: [PATCH] Fixed description for fragment shader VIEW built-in --- tutorials/shaders/shader_reference/spatial_shader.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/shaders/shader_reference/spatial_shader.rst b/tutorials/shaders/shader_reference/spatial_shader.rst index a2d249954..9bd99f877 100644 --- a/tutorials/shaders/shader_reference/spatial_shader.rst +++ b/tutorials/shaders/shader_reference/spatial_shader.rst @@ -249,7 +249,7 @@ these properties, and if you don't write to them, Godot will optimize away the c +----------------------------------------+--------------------------------------------------------------------------------------------------+ | in bool **FRONT_FACING** | ``true`` if current face if front face. | +----------------------------------------+--------------------------------------------------------------------------------------------------+ -| in vec3 **VIEW** | Vector from camera to fragment position (in view space). | +| in vec3 **VIEW** | Normalized vector from fragment position to camera (in view space). | +----------------------------------------+--------------------------------------------------------------------------------------------------+ | in vec2 **UV** | UV that comes from vertex function. | +----------------------------------------+--------------------------------------------------------------------------------------------------+