[gd_scene load_steps=7 format=3 uid="uid://bsc67y33i8ud4"]

[ext_resource type="Shader" uid="uid://bv0mig3iliwk0" path="res://shaders/grass_shader.gdshader" id="1_3kunl"]
[ext_resource type="Script" uid="uid://b5o4ky21bvg66" path="res://scripts/grass.gd" id="3_cvbpf"]

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vaj68"]
seamless = true

[sub_resource type="ShaderMaterial" id="ShaderMaterial_hb5m1"]
shader = ExtResource("1_3kunl")
shader_parameter/wind_speed = 1.0
shader_parameter/wind_strength = 10.0
shader_parameter/noise_tex = SubResource("NoiseTexture2D_vaj68")
shader_parameter/frame_size = Vector2(16, 32)
shader_parameter/sheet_size = Vector2(256, 32)

[sub_resource type="QuadMesh" id="QuadMesh_yarb5"]
size = Vector2(16, 32)

[sub_resource type="MultiMesh" id="MultiMesh_x5p1p"]
use_colors = true
use_custom_data = true
mesh = SubResource("QuadMesh_yarb5")

[node name="Grass" type="MultiMeshInstance2D"]
material = SubResource("ShaderMaterial_hb5m1")
rotation = 0.049343307
multimesh = SubResource("MultiMesh_x5p1p")
script = ExtResource("3_cvbpf")
blade_size = Vector2(16, 32)
texture_sheet_size = Vector2(128, 32)
editing = true
brush_radius = 100.0
brush_density = 40
