+1 vote

Hello.
I'm trying to follow this tutorial https://godot-es-docs.readthedocs.io/en/latest/tutorials/viewports/using_viewport_as_texture.html#applying-the-texture But I'm super stuck with some basic questions.

one of the instructions says:

"Open the newly created Spatial Material and scroll down to the
“Albedo” section and click beside the “Texture” property to add an
Albedo Texture. Here we will apply the texture we made. Choose “New
ViewportTexture”"

but when I press "New ViewportTexture" in the albedo I get the following messages

"Can't create a viewport texture on this resource because it's not set
as local to scene. please switch on the "local to scene" property on
it (and all resources containing it up to a node)"

So how do I set this as local to the scene?
Thanks
I don't know if this is the right place to make specific questions about the documentation. sorry if this is not the place

asked Feb 17, 2019 in Engine by Tachekentya (107 points)

Trust me, you're in the right place. ;) However, I don't know how to solve your problem. It could be a setting for the Viewport. Have you looked at the properties of the Viewport in the Inspector?

1 Answer

+2 votes
Best answer

The solution was super simple!

In the material, scroll to the bottom of the inspector. It's in the "Resource" section.

Thanks to the help of the user Mewse on discord

answered Feb 18, 2019 by Tachekentya (107 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 How to use this Q&A? before posting your first questions.