+1 vote

Why can't I use ViewportTexture on the Texture node? Even though I have set it as Local to scene
Watch the video here

in Engine by (27 points)

I am also having this issue. I have the Shader set to local to scene as well as the ShaderMaterial. Definitely seems like a bug.

1 Answer

0 votes

I found a way around this. If use use a TextureUniform node instead of Texture, you can assign the ViewportTexture in the Shader Param section of the side bar. You'll need to wire the rgb output of the TextureUniform node to Albedo for the params to show up.

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.