[gd_resource type="ShaderMaterial" load_steps=2 format=2]

[sub_resource type="Shader" id=2]
code = "shader_type spatial;

void vertex() {
	VERTEX.x += NORMAL.x * sin(40. * VERTEX.x) / 5.;
}

void fragment() {
	ALBEDO = vec3(.2, .6, .8);
	ROUGHNESS = .5;
}"

[resource]
shader = SubResource( 2 )
