I'm trying to follow this tutorial in the documentation, but my viewport texture is just black.
The color rect appears blank even after pasting the shader from the documentation, and when I specify the Viewport in the ViewportTexture, this is printed in the terminal:
ERROR: get_data: Viewport Texture must be set to use it.
What am I doing wrong? Here's my project, if that helps.