2018-07-29 19:19:35 +02:00
|
|
|
[gd_scene load_steps=18 format=2]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://addons/procedural_material/pm_editor.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/procedural_material/graph_edit.gd" type="Script" id=2]
|
2018-07-23 22:18:43 +02:00
|
|
|
[ext_resource path="res://addons/procedural_material/nodes/material.tscn" type="PackedScene" id=3]
|
2018-07-28 21:21:05 +02:00
|
|
|
[ext_resource path="res://addons/procedural_material/preview.gd" type="Script" id=4]
|
2018-07-29 14:21:49 +02:00
|
|
|
[ext_resource path="res://addons/procedural_material/panoramas/park.hdr" type="Texture" id=5]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="Shader" id=1]
|
2018-07-29 23:43:24 +02:00
|
|
|
|
|
|
|
code = "shader_type canvas_item;
|
|
|
|
|
|
|
|
float rand(vec2 x) {
|
|
|
|
return fract(sin(dot(x, vec2(13.9898, 8.141))) * 43758.5453);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec2 rand2(vec2 x) {
|
|
|
|
return fract(sin(vec2(dot(x, vec2(13.9898, 8.141)),
|
|
|
|
dot(x, vec2(3.4562, 17.398)))) * 43758.5453);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 rand3(vec2 x) {
|
|
|
|
return fract(sin(vec3(dot(x, vec2(13.9898, 8.141)),
|
|
|
|
dot(x, vec2(3.4562, 17.398)),
|
|
|
|
dot(x, vec2(13.254, 5.867)))) * 43758.5453);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_normal(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*c1 + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_dissolve(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
if (rand(uv) < opacity) {
|
|
|
|
return c1;
|
|
|
|
} else {
|
|
|
|
return c2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_multiply(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*c1*c2 + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_screen(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*(1.0-(1.0-c1)*(1.0-c2)) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
float blend_overlay_f(float c1, float c2) {
|
|
|
|
return (c1 < 0.5) ? (2.0*c1*c2) : (1.0-2.0*(1.0-c1)*(1.0-c2));
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_overlay(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*vec3(blend_overlay_f(c1.x, c2.x), blend_overlay_f(c1.y, c2.y), blend_overlay_f(c1.z, c2.z)) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_hard_light(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*0.5*(c1*c2+blend_overlay(uv, c1, c2, 1.0)) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
float blend_soft_light_f(float c1, float c2) {
|
|
|
|
return (c2 < 0.5) ? (2.0*c1*c2+c1*c1*(1.0-2.0*c2)) : 2.0*c1*(1.0-c2)+sqrt(c1)*(2.0*c2-1.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_soft_light(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*vec3(blend_soft_light_f(c1.x, c2.x), blend_soft_light_f(c1.y, c2.y), blend_soft_light_f(c1.z, c2.z)) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
float blend_burn_f(float c1, float c2) {
|
|
|
|
return (c1==0.0)?c1:max((1.0-((1.0-c2)/c1)),0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_burn(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*vec3(blend_burn_f(c1.x, c2.x), blend_burn_f(c1.y, c2.y), blend_burn_f(c1.z, c2.z)) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
float blend_dodge_f(float c1, float c2) {
|
|
|
|
return (c1==1.0)?c1:min(c2/(1.0-c1),1.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_dodge(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*vec3(blend_dodge_f(c1.x, c2.x), blend_dodge_f(c1.y, c2.y), blend_dodge_f(c1.z, c2.z)) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_lighten(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*max(c1, c2) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec3 blend_darken(vec2 uv, vec3 c1, vec3 c2, float opacity) {
|
|
|
|
return opacity*min(c1, c2) + (1.0-opacity)*c2;
|
|
|
|
}
|
|
|
|
|
|
|
|
float sine(vec2 uv, float count, float sharpness) {
|
|
|
|
return clamp(0.5+sharpness*0.5*sin(count*3.1415928*2.0*uv.x), 0.0, 1.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
vec2 transform(vec2 uv, float rotate, float scale) {
|
|
|
|
vec2 rv;
|
|
|
|
uv -= vec2(0.5);
|
|
|
|
rv.x = cos(rotate)*uv.x + sin(rotate)*uv.y;
|
|
|
|
rv.y = -sin(rotate)*uv.x + cos(rotate)*uv.y;
|
|
|
|
rv /= scale;
|
|
|
|
rv += vec2(0.5);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
float bricks(vec2 uv, vec2 count, float offset, float mortar, float bevel) {
|
|
|
|
mortar /= max(count.x, count.y);
|
|
|
|
bevel /= max(count.x, count.y);
|
|
|
|
float fract_x = fract(uv.x*count.x+offset*step(0.5, fract(uv.y*count.y*0.5)));
|
|
|
|
float slope_x = 1.0/(bevel*count.x);
|
|
|
|
float off = 0.5*mortar/bevel;
|
|
|
|
float f1 = fract_x*slope_x-off;
|
|
|
|
float f2 = (1.0-fract_x)*slope_x-off;
|
|
|
|
float fract_y = fract(uv.y*count.y);
|
|
|
|
float slope_y = 1.0/(bevel*count.y);
|
|
|
|
float f3 = fract_y*slope_y-off;
|
|
|
|
float f4 = (1.0-fract_y)*slope_y-off;
|
|
|
|
return max(0.0, min(1.0, min(min(f1, f2), min(f3, f4))));
|
|
|
|
}
|
|
|
|
|
|
|
|
float colored_bricks(vec2 uv, vec2 count, float offset) {
|
|
|
|
float x = floor(uv.x*count.x+offset*step(0.5, fract(uv.y*count.y*0.5)));
|
|
|
|
float y = floor(uv.y*count.y);
|
|
|
|
return fract(x/3.0+y/7.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
float perlin(vec2 uv, vec2 size, int iterations, float persistence, int seed) {
|
|
|
|
uv += vec2(float(seed)*0.1234567);
|
|
|
|
float rv = 0.0;
|
|
|
|
float coef = 1.0;
|
|
|
|
float acc = 0.0;
|
|
|
|
for (int i = 0; i < iterations; ++i) {
|
|
|
|
vec2 step = vec2(1.0)/size;
|
|
|
|
float f0 = rand(floor(fract(uv)*size));
|
|
|
|
float f1 = rand(floor(fract(uv+vec2(step.x, 0.0))*size));
|
|
|
|
float f2 = rand(floor(fract(uv+vec2(0.0, step.y))*size));
|
|
|
|
float f3 = rand(floor(fract(uv+vec2(step.x, step.y))*size));
|
|
|
|
vec2 mixval = fract(uv*size);
|
|
|
|
mixval = 0.5*(1.0-cos(3.1415928*mixval));
|
|
|
|
rv += coef * mix(mix(f0, f1, mixval.x), mix(f2, f3, mixval.x), mixval.y);
|
|
|
|
acc += coef;
|
|
|
|
size *= 2.0;
|
|
|
|
coef *= persistence;
|
|
|
|
}
|
|
|
|
|
|
|
|
return rv / acc;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec4 voronoi(vec2 uv, vec2 size, float intensity, int seed) {
|
|
|
|
uv += vec2(float(seed)*0.1234567);
|
|
|
|
uv *= size;
|
|
|
|
float best_distance0 = 1.0;
|
|
|
|
float best_distance1 = 1.0;
|
|
|
|
vec2 point0;
|
|
|
|
vec2 point1;
|
|
|
|
vec2 p0 = floor(uv);
|
|
|
|
for (int dx = -1; dx < 2; ++dx) {
|
|
|
|
for (int dy = -1; dy < 2; ++dy) {
|
|
|
|
vec2 d = vec2(float(dx), float(dy));
|
|
|
|
vec2 p = p0+d;
|
|
|
|
p += rand2(mod(p, size));
|
|
|
|
float distance = length((uv - p) / size);
|
|
|
|
if (best_distance0 > distance) {
|
|
|
|
best_distance1 = best_distance0;
|
|
|
|
best_distance0 = distance;
|
|
|
|
point1 = point0;
|
|
|
|
point0 = p;
|
|
|
|
} else if (best_distance1 > distance) {
|
|
|
|
best_distance1 = distance;
|
|
|
|
point1 = p;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
float edge_distance = dot(uv - 0.5*(point0+point1), normalize(point0-point1));
|
|
|
|
|
|
|
|
return vec4(point0, best_distance0*length(size)*intensity, edge_distance);
|
|
|
|
}
|
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
float bricks_0_f(vec2 uv) { return bricks(uv, vec2(5, 1), 0.5, 0.05, 0.001); }
|
|
|
|
float perlin_0_f(vec2 uv) { return perlin(uv, vec2(20.000000, 3.000000), 3, 0.500000000, 1161); }
|
2018-07-29 23:43:24 +02:00
|
|
|
void fragment() {
|
2018-08-01 07:50:58 +02:00
|
|
|
float bricks_0_0_f = bricks_0_f(UV+vec2(0.01, 0.0));
|
|
|
|
float perlin_0_0_f = perlin_0_f(UV+vec2(0.01, 0.0));
|
|
|
|
vec3 blend_0_0_rgb = blend_multiply(UV+vec2(0.01, 0.0), vec3(bricks_0_0_f), vec3(perlin_0_0_f), 1.000000000);
|
|
|
|
float bricks_0_1_f = bricks_0_f(UV+vec2(-0.01, 0.0));
|
|
|
|
float perlin_0_1_f = perlin_0_f(UV+vec2(-0.01, 0.0));
|
|
|
|
vec3 blend_0_1_rgb = blend_multiply(UV+vec2(-0.01, 0.0), vec3(bricks_0_1_f), vec3(perlin_0_1_f), 1.000000000);
|
|
|
|
float bricks_0_2_f = bricks_0_f(UV+vec2(0.0, 0.01));
|
|
|
|
float perlin_0_2_f = perlin_0_f(UV+vec2(0.0, 0.01));
|
|
|
|
vec3 blend_0_2_rgb = blend_multiply(UV+vec2(0.0, 0.01), vec3(bricks_0_2_f), vec3(perlin_0_2_f), 1.000000000);
|
|
|
|
float bricks_0_3_f = bricks_0_f(UV+vec2(0.0, -0.01));
|
|
|
|
float perlin_0_3_f = perlin_0_f(UV+vec2(0.0, -0.01));
|
|
|
|
vec3 blend_0_3_rgb = blend_multiply(UV+vec2(0.0, -0.01), vec3(bricks_0_3_f), vec3(perlin_0_3_f), 1.000000000);
|
|
|
|
vec3 normal_map_0_0_rgb = vec3(0.5, 0.5, 0.5) + 0.5*normalize(0.5*vec3(dot(blend_0_0_rgb, vec3(1.0))/3.0-dot(blend_0_1_rgb, vec3(1.0))/3.0, dot(blend_0_2_rgb, vec3(1.0))/3.0-dot(blend_0_3_rgb, vec3(1.0))/3.0, 0.0) + vec3(0.0, 0.0, 1.0));
|
|
|
|
COLOR = vec4(normal_map_0_0_rgb, 1.0);
|
2018-07-29 23:43:24 +02:00
|
|
|
}
|
|
|
|
"
|
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
2018-07-29 23:43:24 +02:00
|
|
|
|
|
|
|
render_priority = 0
|
2018-07-30 08:45:19 +02:00
|
|
|
shader = SubResource( 1 )
|
2018-07-29 23:43:24 +02:00
|
|
|
|
2018-07-29 19:19:35 +02:00
|
|
|
[sub_resource type="Animation" id=3]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
length = 1.0
|
|
|
|
loop = true
|
|
|
|
step = 0.1
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/path = NodePath("MaterialPreview/Objects:rotation_degrees")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PoolRealArray( 0, 1 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
|
|
|
|
}
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="ArrayMesh" id=4]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-29 19:19:35 +02:00
|
|
|
blend_shape_mode = 1
|
2018-07-25 06:20:36 +02:00
|
|
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
2018-07-29 19:19:35 +02:00
|
|
|
surfaces/0 = {
|
|
|
|
"aabb": AABB( -1, -1, -1, 2.00001, 2, 2 ),
|
|
|
|
"array_data": PoolByteArray( 0, 60, 0, 188, 255, 187, 0, 60, 0, 129, 0, 0, 126, 0, 0, 129, 252, 59, 251, 59, 0, 188, 0, 188, 255, 59, 0, 60, 0, 129, 0, 0, 127, 0, 0, 129, 4, 18, 60, 25, 0, 60, 0, 188, 0, 60, 0, 60, 0, 129, 0, 0, 127, 0, 0, 129, 252, 59, 60, 25, 255, 187, 0, 188, 0, 188, 0, 60, 0, 129, 0, 0, 127, 0, 0, 129, 4, 18, 251, 59, 0, 60, 0, 60, 255, 187, 0, 60, 0, 127, 0, 0, 0, 0, 129, 129, 252, 59, 251, 59, 0, 188, 0, 60, 255, 59, 0, 60, 0, 127, 0, 0, 0, 0, 129, 129, 4, 18, 60, 25, 255, 187, 0, 60, 0, 188, 0, 60, 0, 127, 0, 0, 0, 0, 129, 129, 252, 59, 60, 25, 255, 59, 0, 60, 0, 60, 0, 60, 0, 127, 0, 0, 0, 0, 129, 129, 4, 18, 251, 59, 0, 60, 0, 188, 255, 187, 0, 60, 127, 0, 0, 0, 0, 0, 129, 129, 252, 59, 251, 59, 255, 59, 0, 60, 0, 60, 0, 60, 127, 0, 0, 0, 0, 0, 129, 129, 4, 18, 60, 25, 0, 60, 0, 60, 255, 187, 0, 60, 127, 0, 0, 0, 0, 0, 129, 129, 252, 59, 60, 25, 0, 60, 0, 188, 0, 60, 0, 60, 127, 0, 0, 0, 0, 0, 129, 129, 4, 18, 251, 59, 0, 60, 0, 188, 0, 60, 0, 60, 0, 0, 127, 0, 127, 0, 0, 129, 252, 59, 251, 59, 0, 188, 0, 60, 255, 59, 0, 60, 0, 0, 127, 0, 127, 0, 0, 129, 4, 18, 60, 25, 255, 59, 0, 60, 0, 60, 0, 60, 0, 0, 127, 0, 127, 0, 0, 129, 252, 59, 60, 25, 0, 188, 0, 188, 255, 59, 0, 60, 0, 0, 127, 0, 126, 0, 0, 129, 4, 18, 251, 59, 0, 188, 0, 188, 255, 59, 0, 60, 129, 0, 0, 0, 0, 0, 127, 129, 252, 59, 251, 59, 255, 187, 0, 60, 0, 188, 0, 60, 129, 0, 0, 0, 0, 0, 126, 129, 4, 18, 60, 25, 0, 188, 0, 60, 255, 59, 0, 60, 129, 0, 0, 0, 0, 0, 127, 129, 252, 59, 60, 25, 255, 187, 0, 188, 0, 188, 0, 60, 129, 0, 0, 0, 0, 0, 127, 129, 4, 18, 251, 59, 0, 60, 0, 60, 255, 187, 0, 60, 0, 0, 129, 0, 129, 0, 0, 129, 4, 18, 60, 25, 255, 187, 0, 188, 0, 188, 0, 60, 0, 0, 129, 0, 130, 0, 0, 129, 252, 59, 251, 59, 0, 60, 0, 188, 255, 187, 0, 60, 0, 0, 129, 0, 129, 0, 0, 129, 4, 18, 251, 59, 255, 187, 0, 60, 0, 188, 0, 60, 0, 0, 129, 0, 129, 0, 0, 129, 252, 59, 60, 25 ),
|
|
|
|
"array_index_data": PoolByteArray( 0, 0, 1, 0, 2, 0, 0, 0, 3, 0, 1, 0, 4, 0, 5, 0, 6, 0, 4, 0, 7, 0, 5, 0, 8, 0, 9, 0, 10, 0, 8, 0, 11, 0, 9, 0, 12, 0, 13, 0, 14, 0, 12, 0, 15, 0, 13, 0, 16, 0, 17, 0, 18, 0, 16, 0, 19, 0, 17, 0, 20, 0, 21, 0, 22, 0, 20, 0, 23, 0, 21, 0 ),
|
|
|
|
"blend_shape_data": [ ],
|
|
|
|
"format": 98071,
|
|
|
|
"index_count": 36,
|
|
|
|
"name": "Material",
|
|
|
|
"primitive": 4,
|
|
|
|
"skeleton_aabb": [ ],
|
|
|
|
"vertex_count": 24
|
|
|
|
}
|
|
|
|
_sections_unfolded = [ "surface_1" ]
|
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
[sub_resource type="SpatialMaterial" id=5]
|
2018-07-26 08:31:28 +02:00
|
|
|
|
|
|
|
render_priority = 0
|
2018-07-29 19:19:35 +02:00
|
|
|
flags_transparent = false
|
|
|
|
flags_unshaded = false
|
|
|
|
flags_vertex_lighting = false
|
|
|
|
flags_no_depth_test = false
|
|
|
|
flags_use_point_size = false
|
|
|
|
flags_world_triplanar = false
|
|
|
|
flags_fixed_size = false
|
|
|
|
flags_albedo_tex_force_srgb = false
|
|
|
|
vertex_color_use_as_albedo = false
|
|
|
|
vertex_color_is_srgb = false
|
|
|
|
params_diffuse_mode = 0
|
|
|
|
params_specular_mode = 0
|
|
|
|
params_blend_mode = 0
|
|
|
|
params_cull_mode = 0
|
|
|
|
params_depth_draw_mode = 0
|
|
|
|
params_line_width = 1.0
|
|
|
|
params_point_size = 1.0
|
|
|
|
params_billboard_mode = 0
|
|
|
|
params_grow = false
|
|
|
|
params_use_alpha_scissor = false
|
|
|
|
albedo_color = Color( 1, 1, 1, 1 )
|
2018-08-01 07:50:58 +02:00
|
|
|
metallic = 1.0
|
|
|
|
metallic_specular = 1.0
|
2018-07-29 19:19:35 +02:00
|
|
|
metallic_texture_channel = 0
|
2018-07-29 23:43:24 +02:00
|
|
|
roughness = 1.0
|
2018-07-29 19:19:35 +02:00
|
|
|
roughness_texture_channel = 0
|
|
|
|
emission_enabled = false
|
|
|
|
normal_enabled = false
|
|
|
|
rim_enabled = false
|
|
|
|
clearcoat_enabled = false
|
|
|
|
anisotropy_enabled = false
|
|
|
|
ao_enabled = false
|
2018-07-29 23:43:24 +02:00
|
|
|
depth_enabled = true
|
|
|
|
depth_scale = 0.05
|
|
|
|
depth_deep_parallax = false
|
2018-07-29 19:19:35 +02:00
|
|
|
subsurf_scatter_enabled = false
|
|
|
|
transmission_enabled = false
|
|
|
|
refraction_enabled = false
|
|
|
|
detail_enabled = false
|
|
|
|
uv1_scale = Vector3( 1, 1, 1 )
|
|
|
|
uv1_offset = Vector3( 0, 0, 0 )
|
|
|
|
uv1_triplanar = false
|
|
|
|
uv1_triplanar_sharpness = 1.0
|
|
|
|
uv2_scale = Vector3( 1, 1, 1 )
|
|
|
|
uv2_offset = Vector3( 0, 0, 0 )
|
|
|
|
uv2_triplanar = false
|
|
|
|
uv2_triplanar_sharpness = 1.0
|
|
|
|
proximity_fade_enable = false
|
|
|
|
distance_fade_enable = false
|
2018-08-01 07:50:58 +02:00
|
|
|
_sections_unfolded = [ "Depth", "Metallic" ]
|
2018-07-29 19:19:35 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="ArrayMesh" id=6]
|
2018-07-29 19:19:35 +02:00
|
|
|
|
|
|
|
blend_shape_mode = 1
|
2018-07-26 00:08:34 +02:00
|
|
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
2018-07-29 19:19:35 +02:00
|
|
|
surfaces/0 = {
|
|
|
|
"aabb": AABB( -1, -1, -1, 2, 2, 2 ),
|
|
|
|
"array_data": PoolByteArray( 0, 0, 0, 188, 0, 188, 0, 60, 0, 172, 162, 0, 129, 0, 0, 129, 201, 58, 209, 59, 31, 54, 0, 60, 100, 187, 0, 60, 36, 84, 169, 0, 139, 0, 208, 129, 73, 57, 198, 37, 0, 0, 0, 60, 0, 188, 0, 60, 0, 84, 162, 0, 129, 0, 0, 129, 201, 58, 198, 37, 31, 54, 0, 188, 100, 187, 0, 60, 36, 172, 169, 0, 139, 0, 208, 129, 73, 57, 209, 59, 168, 57, 0, 60, 168, 185, 0, 60, 67, 84, 189, 0, 167, 0, 167, 129, 147, 55, 198, 37, 168, 57, 0, 188, 168, 185, 0, 60, 67, 172, 189, 0, 167, 0, 167, 129, 147, 55, 209, 59, 100, 59, 0, 60, 31, 182, 0, 60, 87, 84, 220, 0, 208, 0, 139, 129, 147, 52, 198, 37, 100, 59, 0, 188, 31, 182, 0, 60, 87, 172, 220, 0, 208, 0, 139, 129, 147, 52, 209, 59, 0, 60, 0, 60, 0, 0, 0, 60, 94, 84, 0, 0, 0, 0, 130, 129, 77, 46, 198, 37, 0, 60, 0, 188, 0, 0, 0, 60, 94, 172, 0, 0, 0, 0, 129, 129, 77, 46, 209, 59, 100, 59, 0, 60, 31, 54, 0, 60, 87, 84, 36, 0, 48, 0, 139, 129, 178, 173, 198, 37, 100, 59, 0, 188, 31, 54, 0, 60, 87, 172, 36, 0, 48, 0, 139, 129, 178, 173, 209, 59, 168, 57, 0, 60, 168, 57, 0, 60, 67, 84, 67, 0, 89, 0, 167, 129, 108, 180, 198, 37, 168, 57, 0, 188, 168, 57, 0, 60, 67, 172, 67, 0, 89, 0, 167, 129, 108, 180, 209, 59, 31, 54, 0, 60, 100, 59, 0, 60, 36, 84, 87, 0, 117, 0, 208, 129, 108, 183, 198, 37, 31, 54, 0, 188, 100, 59, 0, 60, 36, 172, 87, 0, 117, 0, 208, 129, 108, 183, 209, 59, 0, 0, 0, 60, 0, 60, 0, 60, 0, 84, 94, 0, 127, 0, 0, 129, 54, 185, 198, 37, 0, 0, 0, 188, 0, 60, 0, 60, 0, 172, 94, 0, 127, 0, 0, 129, 54, 185, 209, 59, 31, 182, 0, 60, 100, 59, 0, 60, 220, 84, 87, 0, 117, 0, 48, 129, 182, 186, 198, 37, 31, 182, 0, 188, 100, 59, 0, 60, 220, 172, 87, 0, 117, 0, 48, 129, 182, 186, 209, 59, 168, 185, 0, 60, 168, 57, 0, 60, 189, 84, 67, 0, 89, 0, 89, 129, 27, 188, 198, 37, 168, 185, 0, 188, 168, 57, 0, 60, 189, 172, 67, 0, 89, 0, 89, 129, 27, 188, 209, 59, 100, 187, 0, 60, 31, 54, 0, 60, 169, 84, 36, 0, 48, 0, 117, 129, 219, 188, 198, 37, 100, 187, 0, 188, 31, 54, 0, 60, 169, 172, 36, 0, 48, 0, 117, 129, 219, 188, 209, 59, 0, 188, 0, 60, 0, 0, 0, 60, 162, 84, 0, 0, 11, 12, 125, 129, 155, 189, 198, 37, 0, 188, 0, 188, 0, 0, 0, 60, 162, 172, 0, 0, 11, 244, 125, 129, 155, 189, 209, 59, 0, 188, 0, 188, 0, 0, 0, 60, 162, 172, 0, 0, 245, 12, 125, 129, 100, 62, 209, 59, 100, 187, 0, 60, 31, 182, 0, 60, 169, 84, 220, 0, 208, 0, 117, 129, 164, 61, 198, 37, 0, 188, 0, 60, 0, 0, 0, 60, 162, 84, 0, 0, 245, 244, 125, 129, 100, 62, 198, 37, 100, 187, 0, 188, 31, 182, 0, 60, 169, 172, 220, 0, 208, 0, 117, 129, 164, 61, 209, 59, 168, 185, 0, 60, 168, 185, 0, 60, 189, 84, 189, 0, 167, 0, 89, 129, 228, 60, 198, 37, 168, 185, 0, 188, 168, 185, 0, 60, 189, 172, 189, 0, 167, 0, 89, 129, 228, 60, 209, 59, 31, 54, 0, 60, 100, 187, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 81, 57, 138, 43, 31, 182, 0, 60, 100, 187, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 201, 52, 138, 43, 0, 0, 0, 60, 0, 188, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 181, 55, 198, 37, 168, 185, 0, 60, 168, 185, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 157, 48, 50, 49, 100, 187, 0, 60, 31, 182, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 56, 41, 19, 53, 0, 188, 0, 60, 0, 0, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 140, 28, 0, 56, 100, 187, 0, 60, 31, 54, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 56, 41, 118, 57, 168, 185, 0, 60, 168, 57, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 157, 48, 179, 58, 31, 182, 0, 60, 100, 59, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 201, 52, 135, 59, 0, 0, 0, 60, 0, 60, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 181, 55, 209, 59, 31, 54, 0, 60, 100, 59, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 81, 57, 135, 59, 168, 57, 0, 60, 168, 57, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 142, 58, 179, 58, 100, 59, 0, 60, 31, 54, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 98, 59, 118, 57, 0, 60, 0, 60, 0, 0, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 172, 59, 0, 56, 100, 59, 0, 60, 31, 182, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 98, 59, 19, 53, 168, 57, 0, 60, 168, 185, 0, 60, 0, 127, 0, 0, 127, 0, 0, 129, 142, 58, 50, 49, 31, 182, 0, 60, 100, 187, 0, 60, 220, 84, 169, 0, 139, 0, 48, 129, 36, 60, 198, 37, 31, 182, 0, 188, 100, 187, 0, 60, 220, 172, 169, 0, 139, 0, 48, 129, 36, 60, 2
|
|
|
|
"array_index_data": PoolByteArray( 0, 0, 1, 0, 2, 0, 0, 0, 3, 0, 1, 0, 3, 0, 4, 0, 1, 0, 3, 0, 5, 0, 4, 0, 5, 0, 6, 0, 4, 0, 5, 0, 7, 0, 6, 0, 7, 0, 8, 0, 6, 0, 7, 0, 9, 0, 8, 0, 9, 0, 10, 0, 8, 0, 9, 0, 11, 0, 10, 0, 11, 0, 12, 0, 10, 0, 11, 0, 13, 0, 12, 0, 13, 0, 14, 0, 12, 0, 13, 0, 15, 0, 14, 0, 15, 0, 16, 0, 14, 0, 15, 0, 17, 0, 16, 0, 17, 0, 18, 0, 16, 0, 17, 0, 19, 0, 18, 0, 19, 0, 20, 0, 18, 0, 19, 0, 21, 0, 20, 0, 21, 0, 22, 0, 20, 0, 21, 0, 23, 0, 22, 0, 23, 0, 24, 0, 22, 0, 23, 0, 25, 0, 24, 0, 26, 0, 27, 0, 28, 0, 26, 0, 29, 0, 27, 0, 29, 0, 30, 0, 27, 0, 29, 0, 31, 0, 30, 0, 32, 0, 33, 0, 34, 0, 32, 0, 35, 0, 33, 0, 32, 0, 36, 0, 35, 0, 32, 0, 37, 0, 36, 0, 32, 0, 38, 0, 37, 0, 32, 0, 39, 0, 38, 0, 32, 0, 40, 0, 39, 0, 32, 0, 41, 0, 40, 0, 32, 0, 42, 0, 41, 0, 32, 0, 43, 0, 42, 0, 32, 0, 44, 0, 43, 0, 32, 0, 45, 0, 44, 0, 32, 0, 46, 0, 45, 0, 32, 0, 47, 0, 46, 0, 31, 0, 48, 0, 30, 0, 31, 0, 49, 0, 48, 0, 49, 0, 2, 0, 48, 0, 49, 0, 0, 0, 2, 0, 50, 0, 51, 0, 52, 0, 50, 0, 53, 0, 51, 0, 50, 0, 54, 0, 53, 0, 50, 0, 55, 0, 54, 0, 50, 0, 56, 0, 55, 0, 50, 0, 57, 0, 56, 0, 50, 0, 58, 0, 57, 0, 50, 0, 59, 0, 58, 0, 50, 0, 60, 0, 59, 0, 50, 0, 61, 0, 60, 0, 50, 0, 62, 0, 61, 0, 50, 0, 63, 0, 62, 0, 50, 0, 64, 0, 63, 0, 50, 0, 65, 0, 64, 0 ),
|
|
|
|
"blend_shape_data": [ ],
|
|
|
|
"format": 98071,
|
|
|
|
"index_count": 180,
|
|
|
|
"primitive": 4,
|
|
|
|
"skeleton_aabb": [ ],
|
|
|
|
"vertex_count": 66
|
|
|
|
}
|
|
|
|
_sections_unfolded = [ "surface_1" ]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="PanoramaSky" id=7]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
radiance_size = 2
|
|
|
|
panorama = ExtResource( 5 )
|
2018-07-24 08:04:25 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="Environment" id=8]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
|
|
|
background_mode = 2
|
2018-07-30 08:45:19 +02:00
|
|
|
background_sky = SubResource( 7 )
|
2018-07-25 06:20:36 +02:00
|
|
|
background_sky_custom_fov = 0.0
|
|
|
|
background_color = Color( 0, 0, 0, 1 )
|
|
|
|
background_energy = 1.0
|
|
|
|
background_canvas_max_layer = 0
|
|
|
|
ambient_light_color = Color( 0, 0, 0, 1 )
|
|
|
|
ambient_light_energy = 1.0
|
|
|
|
ambient_light_sky_contribution = 1.0
|
|
|
|
fog_enabled = false
|
|
|
|
fog_color = Color( 0.5, 0.6, 0.7, 1 )
|
|
|
|
fog_sun_color = Color( 1, 0.9, 0.7, 1 )
|
|
|
|
fog_sun_amount = 0.0
|
|
|
|
fog_depth_enabled = true
|
|
|
|
fog_depth_begin = 10.0
|
|
|
|
fog_depth_curve = 1.0
|
|
|
|
fog_transmit_enabled = false
|
|
|
|
fog_transmit_curve = 1.0
|
|
|
|
fog_height_enabled = false
|
|
|
|
fog_height_min = 0.0
|
|
|
|
fog_height_max = 100.0
|
|
|
|
fog_height_curve = 1.0
|
|
|
|
tonemap_mode = 0
|
|
|
|
tonemap_exposure = 1.0
|
|
|
|
tonemap_white = 1.0
|
|
|
|
auto_exposure_enabled = false
|
|
|
|
auto_exposure_scale = 0.4
|
|
|
|
auto_exposure_min_luma = 0.05
|
|
|
|
auto_exposure_max_luma = 8.0
|
|
|
|
auto_exposure_speed = 0.5
|
|
|
|
ss_reflections_enabled = false
|
|
|
|
ss_reflections_max_steps = 64
|
|
|
|
ss_reflections_fade_in = 0.15
|
|
|
|
ss_reflections_fade_out = 2.0
|
|
|
|
ss_reflections_depth_tolerance = 0.2
|
|
|
|
ss_reflections_roughness = true
|
|
|
|
ssao_enabled = false
|
|
|
|
ssao_radius = 1.0
|
|
|
|
ssao_intensity = 1.0
|
|
|
|
ssao_radius2 = 0.0
|
|
|
|
ssao_intensity2 = 1.0
|
|
|
|
ssao_bias = 0.01
|
|
|
|
ssao_light_affect = 0.0
|
|
|
|
ssao_color = Color( 0, 0, 0, 1 )
|
|
|
|
ssao_quality = 0
|
|
|
|
ssao_blur = 3
|
|
|
|
ssao_edge_sharpness = 4.0
|
|
|
|
dof_blur_far_enabled = false
|
|
|
|
dof_blur_far_distance = 10.0
|
|
|
|
dof_blur_far_transition = 5.0
|
|
|
|
dof_blur_far_amount = 0.1
|
|
|
|
dof_blur_far_quality = 1
|
|
|
|
dof_blur_near_enabled = false
|
|
|
|
dof_blur_near_distance = 2.0
|
|
|
|
dof_blur_near_transition = 1.0
|
|
|
|
dof_blur_near_amount = 0.1
|
|
|
|
dof_blur_near_quality = 1
|
|
|
|
glow_enabled = false
|
|
|
|
glow_levels/1 = false
|
|
|
|
glow_levels/2 = false
|
|
|
|
glow_levels/3 = true
|
|
|
|
glow_levels/4 = false
|
|
|
|
glow_levels/5 = true
|
|
|
|
glow_levels/6 = false
|
|
|
|
glow_levels/7 = false
|
|
|
|
glow_intensity = 0.8
|
|
|
|
glow_strength = 1.0
|
|
|
|
glow_bloom = 0.0
|
|
|
|
glow_blend_mode = 2
|
|
|
|
glow_hdr_threshold = 1.0
|
|
|
|
glow_hdr_scale = 2.0
|
|
|
|
glow_bicubic_upscale = false
|
|
|
|
adjustment_enabled = false
|
|
|
|
adjustment_brightness = 1.0
|
|
|
|
adjustment_contrast = 1.0
|
|
|
|
adjustment_saturation = 1.0
|
|
|
|
_sections_unfolded = [ "Background" ]
|
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
[sub_resource type="Shader" id=9]
|
2018-07-24 08:04:25 +02:00
|
|
|
|
2018-07-25 06:20:36 +02:00
|
|
|
code = "shader_type canvas_item;
|
2018-07-24 08:04:25 +02:00
|
|
|
|
|
|
|
void fragment() {
|
2018-07-25 06:20:36 +02:00
|
|
|
COLOR = vec4(1.0);
|
2018-07-24 08:04:25 +02:00
|
|
|
}
|
|
|
|
"
|
|
|
|
_sections_unfolded = [ "Resource" ]
|
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
[sub_resource type="ShaderMaterial" id=10]
|
2018-07-24 08:04:25 +02:00
|
|
|
|
|
|
|
render_priority = 0
|
2018-08-01 07:50:58 +02:00
|
|
|
shader = SubResource( 9 )
|
2018-07-28 21:21:05 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="Animation" id=11]
|
2018-07-28 21:21:05 +02:00
|
|
|
|
|
|
|
length = 0.2
|
|
|
|
loop = false
|
|
|
|
step = 0.1
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/path = NodePath("SelectedPreview:rect_position")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PoolRealArray( 0, 0.2 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ Vector2( 2, 194 ), Vector2( 2, 2 ) ]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/path = NodePath("SelectedPreview:rect_size")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PoolRealArray( 0, 0.2 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ Vector2( 64, 64 ), Vector2( 256, 256 ) ]
|
|
|
|
}
|
|
|
|
tracks/2/type = "value"
|
|
|
|
tracks/2/path = NodePath("MaterialPreview:render_target_update_mode")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PoolRealArray( 0.2 ),
|
|
|
|
"transitions": PoolRealArray( 1 ),
|
|
|
|
"update": 1,
|
|
|
|
"values": [ 0 ]
|
|
|
|
}
|
2018-07-26 00:08:34 +02:00
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[sub_resource type="Animation" id=12]
|
2018-07-28 21:21:05 +02:00
|
|
|
|
|
|
|
length = 0.2
|
|
|
|
loop = false
|
|
|
|
step = 0.1
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/path = NodePath("SelectedPreview:rect_position")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PoolRealArray( 0, 0.2 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ Vector2( 2, 2 ), Vector2( 2, 194 ) ]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/path = NodePath("SelectedPreview:rect_size")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PoolRealArray( 0, 0.2 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ Vector2( 256, 256 ), Vector2( 64, 64 ) ]
|
|
|
|
}
|
|
|
|
tracks/2/type = "value"
|
|
|
|
tracks/2/path = NodePath("MaterialPreview:render_target_update_mode")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PoolRealArray( 0 ),
|
|
|
|
"transitions": PoolRealArray( 1 ),
|
|
|
|
"update": 1,
|
|
|
|
"values": [ 3 ]
|
|
|
|
}
|
|
|
|
|
2018-08-02 06:32:08 +02:00
|
|
|
[node name="ProceduralMaterialEditor" type="MarginContainer" index="0"]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2018-08-01 07:50:58 +02:00
|
|
|
margin_bottom = -2.0
|
|
|
|
rect_min_size = Vector2( 500, 300 )
|
2018-07-22 17:20:27 +02:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
custom_constants/margin_left = 0
|
|
|
|
script = ExtResource( 1 )
|
2018-08-01 07:50:58 +02:00
|
|
|
_sections_unfolded = [ "Rect" ]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
|
|
|
[node name="GraphEdit" type="GraphEdit" parent="." index="0"]
|
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
self_modulate = Color( 1, 1, 1, 0 )
|
2018-07-22 17:20:27 +02:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1024.0
|
2018-08-01 07:50:58 +02:00
|
|
|
margin_bottom = 598.0
|
2018-07-22 17:20:27 +02:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = true
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
2018-07-28 21:21:05 +02:00
|
|
|
right_disconnects = true
|
2018-07-22 17:20:27 +02:00
|
|
|
scroll_offset = Vector2( 0, 0 )
|
|
|
|
snap_distance = 20
|
|
|
|
use_snap = false
|
|
|
|
zoom = 1.0
|
|
|
|
script = ExtResource( 2 )
|
2018-08-01 07:50:58 +02:00
|
|
|
_sections_unfolded = [ "Material", "Mouse", "Visibility" ]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
|
|
|
[node name="Material" parent="GraphEdit" index="0" instance=ExtResource( 3 )]
|
|
|
|
|
2018-07-25 06:20:36 +02:00
|
|
|
margin_right = 111.0
|
2018-07-29 23:43:24 +02:00
|
|
|
margin_bottom = 118.0
|
|
|
|
_sections_unfolded = [ "Anchor", "Margin", "Mouse", "Theme", "slot", "slot/2", "slot/3", "slot/4", "slot/5" ]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
2018-07-28 09:37:51 +02:00
|
|
|
[node name="Timer" type="Timer" parent="GraphEdit" index="1"]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
2018-07-28 09:37:51 +02:00
|
|
|
process_mode = 1
|
2018-08-01 07:50:58 +02:00
|
|
|
wait_time = 0.1
|
2018-07-28 09:37:51 +02:00
|
|
|
one_shot = true
|
|
|
|
autostart = false
|
2018-07-22 17:20:27 +02:00
|
|
|
|
2018-07-29 23:43:24 +02:00
|
|
|
[node name="SaveViewport" type="Viewport" parent="GraphEdit" index="2"]
|
|
|
|
|
|
|
|
arvr = false
|
|
|
|
size = Vector2( 0, 0 )
|
|
|
|
own_world = true
|
|
|
|
world = null
|
|
|
|
transparent_bg = false
|
|
|
|
msaa = 0
|
|
|
|
hdr = true
|
|
|
|
disable_3d = false
|
|
|
|
usage = 2
|
|
|
|
debug_draw = 0
|
|
|
|
render_target_v_flip = true
|
|
|
|
render_target_clear_mode = 0
|
|
|
|
render_target_update_mode = 1
|
|
|
|
audio_listener_enable_2d = false
|
|
|
|
audio_listener_enable_3d = false
|
|
|
|
physics_object_picking = false
|
|
|
|
gui_disable_input = true
|
|
|
|
gui_snap_controls_to_pixels = true
|
|
|
|
shadow_atlas_size = 0
|
|
|
|
shadow_atlas_quad_0 = 2
|
|
|
|
shadow_atlas_quad_1 = 2
|
|
|
|
shadow_atlas_quad_2 = 3
|
|
|
|
shadow_atlas_quad_3 = 4
|
2018-07-30 08:45:19 +02:00
|
|
|
_sections_unfolded = [ "GUI", "Render Target", "Rendering" ]
|
2018-07-29 23:43:24 +02:00
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="GraphEdit/SaveViewport" index="0"]
|
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
material = SubResource( 2 )
|
2018-07-29 23:43:24 +02:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
color = Color( 1, 1, 1, 1 )
|
|
|
|
_sections_unfolded = [ "Material", "Rect" ]
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="GraphEdit/SaveViewport" index="1"]
|
|
|
|
|
|
|
|
process_mode = 1
|
2018-08-01 07:50:58 +02:00
|
|
|
wait_time = 0.1
|
2018-07-29 23:43:24 +02:00
|
|
|
one_shot = true
|
|
|
|
autostart = false
|
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
[node name="Preview" type="Container" parent="." index="1"]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1024.0
|
2018-08-01 07:50:58 +02:00
|
|
|
margin_bottom = 598.0
|
2018-07-25 06:20:36 +02:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
_sections_unfolded = [ "Mouse" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="Preview" type="ViewportContainer" parent="Preview" index="0"]
|
2018-07-24 08:04:25 +02:00
|
|
|
|
2018-07-25 06:20:36 +02:00
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.0
|
2018-07-28 21:21:05 +02:00
|
|
|
margin_left = -274.0
|
|
|
|
margin_top = 3.0
|
2018-07-28 09:37:51 +02:00
|
|
|
margin_right = -14.0
|
2018-07-28 21:21:05 +02:00
|
|
|
margin_bottom = 263.0
|
|
|
|
rect_min_size = Vector2( 260, 260 )
|
2018-07-25 06:20:36 +02:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
stretch = false
|
|
|
|
stretch_shrink = 1
|
2018-07-28 21:21:05 +02:00
|
|
|
script = ExtResource( 4 )
|
2018-07-25 06:20:36 +02:00
|
|
|
_sections_unfolded = [ "Anchor", "Grow Direction", "Margin", "Mouse", "Rect" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="ObjectRotate" type="AnimationPlayer" parent="Preview/Preview" index="0"]
|
|
|
|
|
|
|
|
root_node = NodePath("..")
|
|
|
|
autoplay = "rotate"
|
|
|
|
playback_process_mode = 1
|
|
|
|
playback_default_blend_time = 0.0
|
|
|
|
playback_speed = 0.1
|
2018-07-29 19:19:35 +02:00
|
|
|
anims/rotate = SubResource( 3 )
|
2018-07-28 21:21:05 +02:00
|
|
|
blend_times = [ ]
|
|
|
|
_sections_unfolded = [ "Playback Options" ]
|
|
|
|
|
|
|
|
[node name="MaterialPreview" type="Viewport" parent="Preview/Preview" index="1"]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
|
|
|
arvr = false
|
2018-07-28 21:21:05 +02:00
|
|
|
size = Vector2( 260, 260 )
|
2018-07-25 06:20:36 +02:00
|
|
|
own_world = true
|
2018-07-28 21:21:05 +02:00
|
|
|
world = null
|
2018-07-25 06:20:36 +02:00
|
|
|
transparent_bg = false
|
|
|
|
msaa = 0
|
|
|
|
hdr = true
|
|
|
|
disable_3d = false
|
|
|
|
usage = 2
|
|
|
|
debug_draw = 0
|
|
|
|
render_target_v_flip = false
|
2018-07-28 21:21:05 +02:00
|
|
|
render_target_clear_mode = 1
|
2018-07-25 06:20:36 +02:00
|
|
|
render_target_update_mode = 3
|
|
|
|
audio_listener_enable_2d = false
|
|
|
|
audio_listener_enable_3d = false
|
|
|
|
physics_object_picking = false
|
|
|
|
gui_disable_input = false
|
|
|
|
gui_snap_controls_to_pixels = true
|
|
|
|
shadow_atlas_size = 0
|
|
|
|
shadow_atlas_quad_0 = 2
|
|
|
|
shadow_atlas_quad_1 = 2
|
|
|
|
shadow_atlas_quad_2 = 3
|
|
|
|
shadow_atlas_quad_3 = 4
|
2018-07-28 21:21:05 +02:00
|
|
|
_sections_unfolded = [ "GUI", "Render Target" ]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="Objects" type="Spatial" parent="Preview/Preview/MaterialPreview" index="0"]
|
2018-07-26 00:08:34 +02:00
|
|
|
|
2018-08-02 06:32:08 +02:00
|
|
|
transform = Transform( -0.822992, 0, -0.568049, 0, 1, 0, 0.568049, 0, -0.822992, 0, 0, 0 )
|
2018-07-26 00:08:34 +02:00
|
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="Cube" type="MeshInstance" parent="Preview/Preview/MaterialPreview/Objects" index="0"]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
|
|
|
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
|
2018-07-30 08:45:19 +02:00
|
|
|
mesh = SubResource( 4 )
|
2018-07-25 06:20:36 +02:00
|
|
|
skeleton = NodePath("..")
|
2018-08-01 07:50:58 +02:00
|
|
|
material/0 = SubResource( 5 )
|
2018-07-25 06:20:36 +02:00
|
|
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="Cylinder" type="MeshInstance" parent="Preview/Preview/MaterialPreview/Objects" index="1"]
|
2018-07-26 00:08:34 +02:00
|
|
|
|
|
|
|
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
|
2018-07-30 08:45:19 +02:00
|
|
|
mesh = SubResource( 6 )
|
2018-07-26 00:08:34 +02:00
|
|
|
skeleton = NodePath("..")
|
2018-08-01 07:50:58 +02:00
|
|
|
material/0 = SubResource( 5 )
|
2018-07-26 00:08:34 +02:00
|
|
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="OmniLight" type="OmniLight" parent="Preview/Preview/MaterialPreview" index="1"]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.04729, 1.80471, -2.51024 )
|
|
|
|
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 = false
|
|
|
|
shadow_color = Color( 0, 0, 0, 1 )
|
|
|
|
shadow_bias = 0.15
|
|
|
|
shadow_contact = 0.0
|
|
|
|
shadow_reverse_cull_face = false
|
|
|
|
editor_only = false
|
|
|
|
omni_range = 6.46518
|
|
|
|
omni_attenuation = 1.0
|
|
|
|
omni_shadow_mode = 1
|
|
|
|
omni_shadow_detail = 1
|
|
|
|
_sections_unfolded = [ "Shadow" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="Camera" type="Camera" parent="Preview/Preview/MaterialPreview" index="2"]
|
2018-07-25 06:20:36 +02:00
|
|
|
|
|
|
|
transform = Transform( 1, 0, 0, 0, 0.766044, 0.642787, 0, -0.642787, 0.766044, 0, 1.83022, 2.2549 )
|
|
|
|
keep_aspect = 1
|
|
|
|
cull_mask = 1048575
|
2018-07-30 08:45:19 +02:00
|
|
|
environment = SubResource( 8 )
|
2018-07-25 06:20:36 +02:00
|
|
|
h_offset = 0.0
|
|
|
|
v_offset = 0.0
|
|
|
|
doppler_tracking = 0
|
|
|
|
projection = 0
|
|
|
|
current = true
|
|
|
|
fov = 70.0
|
|
|
|
size = 1.0
|
|
|
|
near = 0.05
|
|
|
|
far = 100.0
|
|
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="Preview/Preview/MaterialPreview" index="3"]
|
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
environment = SubResource( 8 )
|
2018-07-29 19:19:35 +02:00
|
|
|
|
|
|
|
[node name="Model" type="OptionButton" parent="Preview/Preview" index="2"]
|
|
|
|
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -258.0
|
|
|
|
margin_top = 2.0
|
|
|
|
margin_right = -148.0
|
|
|
|
margin_bottom = 22.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Cube"
|
|
|
|
flat = false
|
|
|
|
align = 0
|
|
|
|
items = [ "Cube", null, false, 0, null, "Cylinder", null, false, 1, null ]
|
|
|
|
selected = 0
|
2018-07-25 06:20:36 +02:00
|
|
|
|
2018-07-29 19:19:35 +02:00
|
|
|
[node name="Environment" type="OptionButton" parent="Preview/Preview" index="3"]
|
2018-07-28 21:21:05 +02:00
|
|
|
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -112.0
|
|
|
|
margin_top = 2.0
|
|
|
|
margin_right = -2.0
|
|
|
|
margin_bottom = 22.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Park"
|
|
|
|
flat = false
|
|
|
|
align = 0
|
2018-07-29 19:19:35 +02:00
|
|
|
items = [ "Experiment", null, false, 0, null, "Lobby", null, false, 1, null, "Night", null, false, 2, null, "Park", null, false, 3, null, "Schelde", null, false, 4, null ]
|
2018-07-28 21:21:05 +02:00
|
|
|
selected = 3
|
|
|
|
|
2018-07-29 19:19:35 +02:00
|
|
|
[node name="SelectedPreview" type="ColorRect" parent="Preview/Preview" index="4"]
|
2018-07-28 21:21:05 +02:00
|
|
|
|
2018-08-01 07:50:58 +02:00
|
|
|
material = SubResource( 10 )
|
2018-07-24 08:04:25 +02:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-07-28 21:21:05 +02:00
|
|
|
margin_left = 2.0
|
|
|
|
margin_top = 194.0
|
|
|
|
margin_right = 66.0
|
|
|
|
margin_bottom = 258.0
|
2018-07-24 08:04:25 +02:00
|
|
|
rect_min_size = Vector2( 64, 64 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
2018-07-28 21:21:05 +02:00
|
|
|
mouse_filter = 0
|
2018-07-24 08:04:25 +02:00
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 8
|
|
|
|
size_flags_vertical = 0
|
|
|
|
color = Color( 1, 1, 1, 1 )
|
2018-07-28 21:21:05 +02:00
|
|
|
_sections_unfolded = [ "Material", "Mouse" ]
|
|
|
|
|
2018-07-29 19:19:35 +02:00
|
|
|
[node name="SelectedPreviewAnimation" type="AnimationPlayer" parent="Preview/Preview" index="5"]
|
2018-07-28 21:21:05 +02:00
|
|
|
|
|
|
|
root_node = NodePath("..")
|
|
|
|
autoplay = ""
|
|
|
|
playback_process_mode = 1
|
|
|
|
playback_default_blend_time = 0.0
|
|
|
|
playback_speed = 1.0
|
2018-07-30 08:45:19 +02:00
|
|
|
anims/maximize = SubResource( 11 )
|
|
|
|
anims/minimize = SubResource( 12 )
|
2018-07-28 21:21:05 +02:00
|
|
|
blend_times = [ ]
|
2018-07-24 08:04:25 +02:00
|
|
|
|
2018-07-22 17:20:27 +02:00
|
|
|
[connection signal="connection_request" from="GraphEdit" to="." method="_on_GraphEdit_connection_request"]
|
|
|
|
|
2018-07-28 09:37:51 +02:00
|
|
|
[connection signal="graph_changed" from="GraphEdit" to="." method="generate_shader"]
|
|
|
|
|
2018-07-24 08:04:25 +02:00
|
|
|
[connection signal="node_selected" from="GraphEdit" to="." method="_on_GraphEdit_node_selected"]
|
|
|
|
|
2018-07-22 17:20:27 +02:00
|
|
|
[connection signal="popup_request" from="GraphEdit" to="." method="_on_GraphEdit_popup_request"]
|
|
|
|
|
2018-07-28 09:37:51 +02:00
|
|
|
[connection signal="timeout" from="GraphEdit/Timer" to="GraphEdit" method="do_send_changed_signal"]
|
2018-07-22 17:20:27 +02:00
|
|
|
|
2018-07-29 19:19:35 +02:00
|
|
|
[connection signal="item_selected" from="Preview/Preview/Model" to="Preview/Preview" method="_on_Model_item_selected"]
|
|
|
|
|
2018-07-28 21:21:05 +02:00
|
|
|
[connection signal="item_selected" from="Preview/Preview/Environment" to="Preview/Preview" method="_on_Environment_item_selected"]
|
|
|
|
|
|
|
|
[connection signal="gui_input" from="Preview/Preview/SelectedPreview" to="Preview/Preview" method="_on_SelectedPreview_gui_input"]
|
|
|
|
|
2018-07-22 17:20:27 +02:00
|
|
|
|