-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Shaders : Specifying instance index and declaring a uniform doesn't seem possible syntax-wise #62942
Comments
@Knand1861 Please upload a minimal reproduction project to make this easier to troubleshoot. |
As per the other linked issues, can you test this in a 3D ( |
Thanks for the report! You can simply use a comma, like this:
Closing this issue, but feel free to comment or re-open the issue if the solution doesn't work for some reason. |
Godot version
4.11 alpha
System information
Windows 11
Issue description
I could not figure out the way that I can specify both hint + default value and instance_index();
Steps to reproduce
instance uniform float g: hint_range(0.0,1.0,0.1) = 0.5 : instance_index(5);
?Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: