Skip to content

Commit 5e20706

Browse files
authored
Merge pull request #10962 from Overkane/patch-2
Fix mistake about sky shaders having fragment() function
2 parents cdbe894 + 1377e26 commit 5e20706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/shaders/introduction_to_shaders.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Fragment processor
155155

156156
The ``fragment()`` processing function is used to set up the Godot material
157157
parameters per pixel. This code runs on every visible pixel the object or
158-
primitive draws. It is only available in ``spatial``, ``canvas_item``, and ``sky`` shaders.
158+
primitive draws. It is only available in ``spatial`` and ``canvas_item`` shaders.
159159

160160
The standard use of the fragment function is to set up material properties used
161161
to calculate lighting. For example, you would set values for ``ROUGHNESS``,

0 commit comments

Comments
 (0)