Skip to content

Gdshader greaterThanEqual not accepting float values #11233

@PauliusMM

Description

@PauliusMM

Tested versions

  • Tested only on godot 4.5 beta 4

System information

Windows 11 godot 4.5 beta 4

Issue description

I don't know if this is intended or a bug

godot wiki https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/shader_functions.html

says that vec_type is float vec2 vec3 and vec4

but if I try to use floats on any compare function it drops an error that floats aren't supported, only vec2,3,4 are

coding on godot 4.5 beta 4

Steps to reproduce

Create a project try creating a shader and using any compare functions

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions