khanat-client/scenes/game/grass.tscn

97 lines
1.1 MiB
Text
Raw Normal View History

2021-09-03 21:27:28 +00:00
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/decors/vegets/grass_001/grass_001.obj" type="ArrayMesh" id=4]
[sub_resource type="PlaneMesh" id=1]
[sub_resource type="VisualShaderNodeColorUniform" id=2]
uniform_name = "ColorUniform"
[sub_resource type="VisualShader" id=3]
code = "shader_type spatial;
render_mode cull_disabled, specular_schlick_ggx;
uniform vec4 ColorUniform : hint_color;
void vertex() {
// Output:0
}
void fragment() {
// ColorUniform:2
vec3 n_out2p0 = ColorUniform.rgb;
float n_out2p1 = ColorUniform.a;
// Output:0
ALBEDO = n_out2p0;
}
void light() {
// Output:0
}
"
graph_offset = Vector2( -262.67, 53.7174 )
modes/cull = 2
nodes/fragment/2/node = SubResource( 2 )
nodes/fragment/2/position = Vector2( 200, 180 )
nodes/fragment/connections = PoolIntArray( 2, 0, 0, 0 )
[sub_resource type="ShaderMaterial" id=4]
shader = SubResource( 3 )
shader_param/ColorUniform = Color( 0.333333, 0.588235, 0.0823529, 1 )
[sub_resource type="MultiMesh" id=5]
transform_format = 1
instance_count = 10000
mesh = ExtResource( 4 )
transform_array = PoolVector3Array( 0.91361, -0.378506, 0.148493, 0.285285, 0.856977, 0.429188, -0.289706, -0.349747, 0.890925, 1.15757, 0, 0.867697, 0.823605, -0.133592, 0.551207, 0.323348, 0.909049, -0.262823, -0.465963, 0.394694, 0.791894, 1.8831, 0, 0.873465, 0.962985, -0.11704, 0.24282, 0.173225, 0.958884, -0.224797, -0.206526, 0.258539, 0.943666, 0.540743, 0, 0.278802, -0.896699, -0.061043, 0.438411, -0.120127, 0.986834, -0.108297, -0.426028, -0.149775, -0.892226, 1.96715, 0, -1.98912, 0.204754, 0.373894, 0.904588, -0.390114, 0.878766, -0.274919, -0.897712, -0.296602, 0.325792, -0.158304, 0, 0.441346, -0.25977, 0.089548, 0.96151, -0.0949846, 0.988493, -0.117723, -0.960988, -0.121909, -0.248275, -0.709699, 0, -0.607262, 0.728056, 0.284291, -0.623788, -0.381993, 0.923832, -0.0248081, 0.569223, 0.256345, 0.781199, 0.163869, 0, -1.94704, 0.787028, -0.134013, -0.602186, 0.229005, 0.96984, 0.0834667, 0.572838, -0.203594, 0.793981, -1.85569, 0, 0.294093, -0.770406, 0.301063, -0.561993, 0.331688, 0.942064, 0.0499766, 0.54448, -0.147904, -0.825631, -0.857284, 0, 0.486526, 0.709875, 0.320754, -0.627052, -0.437413, 0.898557, -0.0355519, 0.552039, 0.299518, 0.778166, 0.299018, 0, -1.93144, 0.872934, 0.420752, -0.246888, -0.462057, 0.875447, -0.141761, 0.156491, 0.237825, 0.958619, -1.43743, 0, -0.998758, 0.999655, 0.019715, -0.0173707, -0.0150379, 0.971377, 0.237068, 0.0215473, -0.236725, 0.971338, -0.343886, 0, -0.670857, -0.328741, 0.108649, -0.93815, 0.302704, 0.953075, 0.00430624, 0.894595, -0.282566, -0.346203, -1.66039, 0, 0.225623, 0.90895, -0.00416488, -0.416884, 0.124596, 0.956963, 0.262102, 0.397851, -0.29018, 0.87035, -0.657146, 0, -0.906886, 0.671344, -0.198485, 0.714074, 0.192099, 0.977147, 0.091005, -0.715818, 0.0760772, 0.69413, 0.878328, 0, -1.83718, -0.809175, 0.247307, -0.532986, 0.401217, 0.895264, -0.193719, 0.429255, -0.370596, -0.82365, 1.30996, 0, -1.00172, -0.95466, -0.192926, -0.226726, -0.239143, 0.950564, 0.198087, 0.177301, 0.243325, -0.953602, 1.09839, 0, -1.08198, 0.496303, 0.0119236, -0.868067, -0.223561, 0.967939, -0.114522, 0.838871, 0.250903, 0.483057, 0.140954, 0, 0.161478, 0.805543, -0.330105, 0.492068, 0.389301, 0.920904, -0.019518, -0.446704, 0.207285, 0.870338, -0.0443053, 0, -1.07716, -0.84092, 0.394114, -0.370847, 0.267253, 0.898331, 0.348679, 0.470562, 0.194102, -0.860753, 1.5073, 0, -0.556478, 0.644193, 0.0460446, 0.763475, 0.077073, 0.989198, -0.124689, -0.76097, 0.139167, 0.633686, 1.08662, 0, -0.159849, -0.534202, 0.0222324, 0.845064, 0.2399, 0.962543, 0.126328, -0.810602, 0.270216, -0.519526, 1.10554, 0, 1.20889, 0.677264, -0.406556, -0.613209, 0.351897, 0.910942, -0.215296, 0.646128, -0.0699739, 0.760014, 1.54585, 0, 0.557598, -0.737551, 0.00341617, -0.675283, 0.217381, 0.94796, -0.232631, 0.639346, -0.318371, -0.699912, 1.56612, 0, 0.637261, -0.124564, 0.41153, 0.902844, 0.208574, 0.90046, -0.381667, -0.970042, 0.140768, -0.198, -1.76459, 0, 1.61506, 0.876171, -0.0569156, -0.478629, -0.00648296, 0.991522, -0.129773, 0.481957, 0.116807, 0.868374, -0.434735, 0, 0.800592, 0.786327, -0.17415, 0.592758, 0.0813497, 0.980281, 0.180088, -0.612431, -0.0933872, 0.784988, -0.537467, 0, -1.48903, 0.961611, 0.244173, 0.125233, -0.194619, 0.928563, -0.316062, -0.193461, 0.279556, 0.940437, -0.68315, 0, 0.898008, -0.146886, -0.0839447, 0.985585, 0.0111967, 0.996188, 0.0865165, -0.98909, 0.0237433, -0.145386, -0.135029, 0, 0.391946, 0.319822, -0.37676, -0.869348, -0.175744, 0.878027, -0.445176, 0.931036, 0.29516, 0.214599, -0.378715, 0, -1.52694, 0.851683, -0.179, -0.492539, 0.293773, 0.941375, 0.165864, 0.433974, -0.285958, 0.854339, 0.650022, 0, 0.926515, -0.785956, -0.100504, -0.610059, 0.162198, 0.918626, -0.360303, 0.596628, -0.382133, -0.705698, -1.34765, 0, 0.687306, -0.453902, -0.132677, 0.881119, 0.282578, 0.916377, 0.283554, -0.845058, 0.377691, -0.378454, 0.663798, 0, 0.591358, -0.992276, -0.0266269, -0.121161, -0.00735622, 0.987604, -0.156795, 0.123834, -0.154692, -0.980171, 0.475538, 0, 1.20488, 0.949306, -0.302374, 0.0859606, 0.308868, 0.948054, -0.0761166, -0.0584797, 0.0988083,
[sub_resource type="CapsuleMesh" id=6]
[node name="spatial" type="Spatial"]
[node name="spot_light" type="SpotLight" parent="."]
transform = Transform( 1, 0, 0, 0, -0.0725419, 0.997365, 0, -0.997365, -0.0725419, 183.833, 115.093, 122.837 )
visible = false
light_energy = 4.53
light_indirect_energy = 10.0
spot_range = 64.9
[node name="directional_light_2" type="DirectionalLight" parent="."]
transform = Transform( -0.446434, 0.893357, -0.0510909, 0.0411052, 0.0775106, 0.996144, 0.893872, 0.442612, -0.071325, 3.28526, 88.4875, -48.5019 )
[node name="directional_light" type="DirectionalLight" parent="."]
transform = Transform( -0.187843, 0.10517, 0.976552, 0.884736, 0.449917, 0.121728, -0.426565, 0.886856, -0.177561, 120.253, 88.4875, 84.126 )
visible = false
directional_shadow_split_1 = 1.0
directional_shadow_split_2 = 1.0
directional_shadow_split_3 = 1.0
directional_shadow_blend_splits = true
directional_shadow_normal_bias = 1.02
directional_shadow_bias_split_scale = 0.67
directional_shadow_max_distance = 1294.9
[node name="grass_001" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 160, 213 )
mesh = ExtResource( 4 )
material/0 = null
[node name="ground" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0323311, -0.028235, -0.0202253 )
mesh = SubResource( 1 )
material/0 = null
[node name="multi_mesh_instance_2" type="MultiMeshInstance" parent="."]
material_override = SubResource( 4 )
multimesh = SubResource( 5 )
[node name="mesh_instance" type="MeshInstance" parent="."]
transform = Transform( 0.2, 0, 0, 0, -8.74228e-09, -0.4, 0, 0.2, -1.74846e-08, 0, 0.739931, 0 )
mesh = SubResource( 6 )
material/0 = null