godot 4 canvasitem shader turns everything black after 4.3 upgrade
Upgraded from Godot 4.1 to 4.3 and a custom CanvasItem shader that tinted a sprite now renders everything solid black. Shader compiles with no errors. The code is basically: shader_type canvas_item; void fragment() { COLOR = texture(TEXTURE, UV) * tint; } with tint a uniform vec4. It worked in 4.1. I saw something in the changelog about texture() being renamed or hints changed but can't find it now. Is there a migration that changes how TEXTURE sampling works? Also get a warning about 'hint_color' on the uniform. What changed between these versions?
4 replies