Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing scalar uniform hints in visual shaders #55571

Closed
dweremeichik opened this issue Dec 3, 2021 · 2 comments
Closed

Missing scalar uniform hints in visual shaders #55571

dweremeichik opened this issue Dec 3, 2021 · 2 comments

Comments

@dweremeichik
Copy link

Godot version

v3.4.stable.official [206ba70]

System information

N/A

Issue description

When writing shaders by hand, or converting from Spatial Materials, scalar uniform hints can be used. An example might be:

uniform float roughness : hint_range(0,1);
uniform float point_size : hint_range(0,128);

However when using visual shaders, there is no way to specify uniform hints.

Steps to reproduce

  1. Create a visual shader.
  2. Create a scalar uniform in the visual shader.
  3. View shader params - no hint available.

Minimal reproduction project

No response

@Chaosus
Copy link
Member

Chaosus commented Dec 3, 2021

This was implemented in 4.0, but porting back seems demanded.

@Chaosus
Copy link
Member

Chaosus commented Jan 6, 2022

Fixed in #56466

@Chaosus Chaosus closed this as completed Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants