You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
296 B
Plaintext

[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 )