I have a canvas_item
shader with a uniform
variable that alters the shader at runtime using an AnimationPlayer
. When I apply my shader to a TextureRect
with a non-null Texture
it works fine.
I now want to apply the shader to a Node2D
with a custom draw. I only draw once on the initial call to _draw
. The animated shader does not affect this node.
Are custom drawn CanvasItem
s immune to shaders? They seem to be but I can't find any documentation that says so.