Hi,
I'm working on this GLES2 based project where I want to create a 3dRoom where I can call textures for TV screens dynamically from URL. I'm new to godot so would be great if you can let me know how to load my the textures and then how to assign them to a node within my integrated.tscn scene object.
extends Node
func _ready():
#load textures
var tv1 = preload("https://path/to/tv1.png")
var tv2 = preload("https://path/to/tv2.png")
var tv3 = preload("https://path/to/tv3.png")
var tv4 = preload("https://path/to/tv4.png")
var tv5 = preload("https://path/to/tv5.png")
var tv6 = preload("https://path/to/tv6.png")
var floorTex = preload("https://path/to/floorTex.png")
var wallTex = preload("https://path/to/wallTex.png")
var roofTex = preload("https://path/to/roofTex.png")
# put the textures into a list
var tvTextures = [tv1, tv2, tv3, tv4, tv5, tv6]
var roomTextures = [floorTex, wallTex, roofTex]
var panels = ["Integrated", "Integrated2", "Integrated3", "Integrated4" ,"Integrated5", "Integrated6"]
for node in panels:
# help get display from my gltf converted to tsc object/scene
# assign the texture
get_node(display).set_texture(tv1)
main scene

my custom display unity that was created in blender and converted to tscn

here is my room setup
