Set a nodes material shader gdscript
Asked Answered
I

2

0

To get a reference to the node I am doing this

node_reference = get_node("/root/node_parent/node")

I am trying to set the nodes shader material and the shader file it is using. I know the var I store the node in is valid because I have been able to do other stuff to it.

Introject answered 15/6, 2023 at 12:50 Comment(0)
G
0

Which version, Godot 4.0.3? And you should change the title to mention shaders.

Grandnephew answered 15/6, 2023 at 13:31 Comment(0)
I
0

Grandnephew Yes it is 4.03

Introject answered 15/6, 2023 at 14:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.