How would I change properties like shader_type of a visual shader

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

Basically the title. I can’t figure out how to change basic properties of a shader like it’s shader type. I tried adding a global expression node and typing in “shader_type unshaded;” but that doesn’t work.

:bust_in_silhouette: Reply From: MathiasStrohkirch

You do this in the shader code. In the .gdshader file. See this example