Skip to content

In shading_language > uniforms Add example of hint with default value #7690

@fguillen

Description

@fguillen

Your Godot version:

4.1.stable

Issue description:

In this page: https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/shading_language.html#uniforms

There is not example of a hint with a default value... and there is not solution for this in Google :?

It would have saved me a precious hour of my time if I would have seen an example like:

uniform float variable : hint_range(0.1, 10.0) = 1.0;

In the documentation

URL to the documentation page (if already existing):

https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/shading_language.html#uniforms

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions