Help with the Godot docs tutorial "Using a Viewport as a texture"

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tachekentya

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

Trust me, you’re in the right place. :wink: 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?

Ertain | 2019-02-18 00:13

:bust_in_silhouette: Reply From: Tachekentya

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

Here’s an image for anybody still missing it (due to the fliter box not actually showing all items that exist):
enter image description here

Gerry | 2022-11-03 00:57