I am currently trying to change the color of my Mesh like so:
var mesh_node = get_node("MeshInstance")
var material = mesh_node.get_surface_material(0)
And this works to a certain extent.
The color changes successfully, however afterwards the shade doesn't load anymore.
flags_unshaded = true, this is however not the case, I printed flags_unshaded and it was still set to false.
How can I fix this?