You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a boolean varying by Manage Varyings will fail because of the generated shader code is modified with flat. The error wll print in console: Interpolation modifier 'flat' cannot be used with boolean types.
Steps to reproduce
Create a visual shader resource, edit it in visual shader editor. Click the Manage Varyings, then add a boolean varying, the error will occur.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered:
Godot version
Godot v4.2.beta (b137180)
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3619) - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)
Issue description
Add a boolean varying by
Manage Varyings
will fail because of the generated shader code is modified withflat
. The error wll print in console:Interpolation modifier 'flat' cannot be used with boolean types.
Steps to reproduce
Create a visual shader resource, edit it in visual shader editor. Click the
Manage Varyings
, then add a boolean varying, the error will occur.Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: