Skip to content

Commit abda5a1

Browse files
authored
Merge pull request #9354 from Nitwel/patch-1
Entering transparent pipeline when reading ALPHA
2 parents 0af7b29 + 99da975 commit abda5a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/shaders/shader_reference/spatial_shader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ these properties, and if you don't write to them, Godot will optimize away the c
331331
+----------------------------------------+--------------------------------------------------------------------------------------------------+
332332
| out vec3 **ALBEDO** | Albedo (default white). |
333333
+----------------------------------------+--------------------------------------------------------------------------------------------------+
334-
| out float **ALPHA** | Alpha (0..1); if written to, the material will go to the transparent pipeline. |
334+
| out float **ALPHA** | Alpha (0..1); if read from or written to, the material will go to the transparent pipeline. |
335335
+----------------------------------------+--------------------------------------------------------------------------------------------------+
336336
| out float **ALPHA_SCISSOR_THRESHOLD** | If written to, values below a certain amount of alpha are discarded. |
337337
+----------------------------------------+--------------------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)