I wan to influence a visual shader from GDScript, I know I need to use unifom to get that connection. However, I cannot seem to find node for that in the visual shader. The only thing I could find was to create a global expression node and add a uniform variable in there. While it works it doesn't seem like the optimal solution, is there a better one?
How to get uniform variables with visual shaders?
Asked Answered
Uniforms are called parameters in visual shaders. When creating a node, look under Scalar/Variables or Vector/Variables and pick one of *Parameter nodes.
© 2022 - 2024 — McMap. All rights reserved.