- Edited
VisualShaders have changed from what I remember in Godot 4.2. I want to add a texture input to my shader. I've added a Texture2DParameter node which allows me to attach an image to my shader. I can also send it as an input to Texture2D which seems to be the only relevant node that accepts a sampler as an input. However, I am getting an error saying
The sampler port is connected but not used. Consider chaning the source to 'SamplerPort'
. I cannot find anything called 'SamplerPort'. How am I supposed to set this up?