Explorar o código

Merge pull request #10962 from Overkane/patch-2

Fix mistake about sky shaders having fragment() function
Max Hilbrunner hai 3 meses
pai
achega
5e2070619c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tutorials/shaders/introduction_to_shaders.rst

+ 1 - 1
tutorials/shaders/introduction_to_shaders.rst

@@ -155,7 +155,7 @@ Fragment processor
 
 
 The ``fragment()`` processing function is used to set up the Godot material
 The ``fragment()`` processing function is used to set up the Godot material
 parameters per pixel. This code runs on every visible pixel the object or
 parameters per pixel. This code runs on every visible pixel the object or
-primitive draws. It is only available in ``spatial``, ``canvas_item``, and ``sky`` shaders.
+primitive draws. It is only available in ``spatial`` and ``canvas_item`` shaders.
 
 
 The standard use of the fragment function is to set up material properties used
 The standard use of the fragment function is to set up material properties used
 to calculate lighting. For example, you would set values for ``ROUGHNESS``,
 to calculate lighting. For example, you would set values for ``ROUGHNESS``,