[gd_scene load_steps=9 format=2] [ext_resource path="res://scenes/camera_rig.tscn" type="PackedScene" id=1] [ext_resource path="res://materials-and-shaders/ground_material.tres" type="Material" id=2] [ext_resource path="res://scripts/Ground.gd" type="Script" id=3] [ext_resource path="res://assets/tri6.obj" type="ArrayMesh" id=4] [ext_resource path="res://materials-and-shaders/grass_shadermaterial.tres" type="Material" id=5] [ext_resource path="res://materials-and-shaders/particle_material.tres" type="Material" id=6] [ext_resource path="res://scripts/Particles.gd" type="Script" id=7] [sub_resource type="PlaneMesh" id=1] custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) flip_faces = false size = Vector2( 100, 100 ) subdivide_width = 100 subdivide_depth = 100 [node name="Main" type="Spatial" index="0"] [node name="Camera_rig" parent="." index="0" instance=ExtResource( 1 )] transform = Transform( 1, 0, 0, 0, 0.797623, 0.603157, 0, -0.603157, 0.797623, -8.49521, 5, -8.75338 ) [node name="DirectionalLight" type="DirectionalLight" parent="." index="1"] transform = Transform( 0.731677, 0.313291, -0.605391, 0, 0.888124, 0.459605, 0.681651, -0.336282, 0.64982, 0, 24.0867, 0 ) layers = 1 light_color = Color( 1, 1, 1, 1 ) light_energy = 1.0 light_indirect_energy = 1.0 light_negative = false light_specular = 0.5 light_bake_mode = 1 light_cull_mask = -1 shadow_enabled = true shadow_color = Color( 0, 0, 0, 1 ) shadow_bias = 0.1 shadow_contact = 0.0 shadow_reverse_cull_face = false editor_only = false directional_shadow_mode = 2 directional_shadow_split_1 = 0.1 directional_shadow_split_2 = 0.2 directional_shadow_split_3 = 0.5 directional_shadow_blend_splits = false directional_shadow_normal_bias = 0.8 directional_shadow_bias_split_scale = 0.25 directional_shadow_depth_range = 0 directional_shadow_max_distance = 200.0 _sections_unfolded = [ "Shadow" ] [node name="Ground" type="MeshInstance" parent="." index="2"] layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = SubResource( 1 ) skeleton = NodePath("..") material/0 = ExtResource( 2 ) script = ExtResource( 3 ) _sections_unfolded = [ "Material", "material/0", "mesh" ] [node name="Grass Test" type="MeshInstance" parent="." index="3"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.23625, 6.83769, -2.93217 ) visible = false layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = ExtResource( 4 ) skeleton = NodePath("..") material/0 = ExtResource( 5 ) _sections_unfolded = [ "Material" ] [node name="Particles" type="Particles" parent="." index="4"] layers = 1 material_override = ExtResource( 5 ) cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 emitting = true amount = 256 lifetime = 1.0 one_shot = false preprocess = 0.0 speed_scale = 1.0 explosiveness = 1.0 randomness = 0.0 fixed_fps = 0 fract_delta = true visibility_aabb = AABB( -4, -4, -4, 8, 8, 8 ) local_coords = false draw_order = 0 process_material = ExtResource( 6 ) draw_passes = 1 draw_pass_1 = ExtResource( 4 ) script = ExtResource( 7 ) _sections_unfolded = [ "Draw Passes", "Drawing", "Geometry", "Process Material", "Transform", "process_material" ] rows = 300 spacing = 0.5