retrace/Particles/Smoke.tscn
Ententerminator d57594e8bd masked smoke
2020-01-28 18:09:14 +01:00

46 lines
1.2 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Resources/Textures/smoke.png" type="Texture" id=1]
[sub_resource type="SpatialMaterial" id=1]
flags_transparent = true
flags_unshaded = true
vertex_color_use_as_albedo = true
params_blend_mode = 1
params_billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
albedo_texture = ExtResource( 1 )
[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 0.2745 ), 0.0, 0.0, 0, 0, Vector2( 0.487893, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.0897 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=3]
curve = SubResource( 2 )
[sub_resource type="ParticlesMaterial" id=4]
emission_shape = 1
emission_sphere_radius = 0.04
spread = 0.0
gravity = Vector3( 0, 5, 0 )
angular_velocity = 40.0
angular_velocity_random = 1.0
linear_accel = -3.0
scale = 0.1
scale_random = 0.01
scale_curve = SubResource( 3 )
[sub_resource type="QuadMesh" id=5]
[node name="Smoke" type="Spatial"]
[node name="White" type="Particles" parent="."]
layers = 2
material_override = SubResource( 1 )
amount = 5
lifetime = 2.0
speed_scale = 0.5
process_material = SubResource( 4 )
draw_pass_1 = SubResource( 5 )