godotengine / godotengine/godot-docs

Gdshader greaterThanEqual not accepting float values

Open
#11,233 1 comment 0 reactions 0 assignees View on GitHub
area:manual bug topic:shaders
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.