Skip to content

The CanvasItem shader reference mentions a non-existent DEPTH constant #8541

@robbertzzz

Description

@robbertzzz

Your Godot version:
4.2 stable

Issue description:
The documentation for CanvasItem shaders contains the following sentence twice: "xy specifies position in window, z specifies fragment depth if DEPTH is not used". However, this DEPTH constant does not exist. Both occurences are in the description of FRAGCOORD for the fragment shader and light shader respectively.

URL to the documentation page:
https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/canvas_item_shader.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:manualIssues and PRs related to the Manual/Tutorials section of the documentationbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions