mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix mistake about sky shaders having fragment() function
This commit is contained in:
@@ -155,7 +155,7 @@ Fragment processor
|
||||
|
||||
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
|
||||
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
|
||||
to calculate lighting. For example, you would set values for ``ROUGHNESS``,
|
||||
|
||||
Reference in New Issue
Block a user