.
BIN
assets/audio/papermario_whacka.mp3
Normal file
19
assets/audio/papermario_whacka.mp3.import
Normal file
@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://cjjsbi44d8lw2"
|
||||
path="res://.godot/imported/papermario_whacka.mp3-bccd34499a3cb4b70ad50d8b33080c08.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/papermario_whacka.mp3"
|
||||
dest_files=["res://.godot/imported/papermario_whacka.mp3-bccd34499a3cb4b70ad50d8b33080c08.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
119
assets/characters/evilcoco.tscn
Normal file
@ -0,0 +1,119 @@
|
||||
[gd_scene load_steps=17 format=3 uid="uid://36j8rok6pdoh"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dj20ug78dpiv7" path="res://assets/fx/questionmark.png" id="1_dajbs"]
|
||||
[ext_resource type="Script" path="res://src/viewport.gd" id="2_uo4p0"]
|
||||
[ext_resource type="SpineAtlasResource" uid="uid://cjwkukvcvdmyb" path="res://assets/characters/evilcoco/spine.atlas" id="3_3vvm8"]
|
||||
[ext_resource type="SpineSkeletonFileResource" uid="uid://bx3cdcuxwwy7o" path="res://assets/characters/evilcoco/spine.skel" id="4_wj58p"]
|
||||
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="5_6ck5e"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s0iww"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
diffuse_mode = 3
|
||||
specular_mode = 2
|
||||
albedo_texture = ExtResource("1_dajbs")
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_uqum3"]
|
||||
material = SubResource("StandardMaterial3D_s0iww")
|
||||
size = Vector2(0.1, 0.1)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_px5jj"]
|
||||
min_value = -200.0
|
||||
max_value = 200.0
|
||||
_data = [Vector2(0, 149.721), 0.0, 0.0, 0, 0, Vector2(0.519757, 25.9576), -848.296, -848.296, 0, 0, Vector2(0.966565, -105.541), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="Curve" id="Curve_l10dy"]
|
||||
max_value = 200.0
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_jbnx6"]
|
||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
||||
transparency = 1
|
||||
blend_mode = 4
|
||||
no_depth_test = true
|
||||
diffuse_mode = 3
|
||||
specular_mode = 1
|
||||
albedo_texture = SubResource("ViewportTexture_jbnx6")
|
||||
texture_filter = 0
|
||||
texture_repeat = false
|
||||
billboard_mode = 1
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
||||
|
||||
[sub_resource type="SpineSkeletonDataResource" id="SpineSkeletonDataResource_1vk02"]
|
||||
atlas_res = ExtResource("3_3vvm8")
|
||||
skeleton_file_res = ExtResource("4_wj58p")
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_232ej"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wn1m5"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cbp6h"]
|
||||
|
||||
[node name="NPC_EvilCoco" type="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48192, 0)
|
||||
axis_lock_angular_x = true
|
||||
axis_lock_angular_y = true
|
||||
axis_lock_angular_z = true
|
||||
|
||||
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0637626, 0.611801, 0)
|
||||
cast_shadow = 0
|
||||
gi_mode = 0
|
||||
amount = 1
|
||||
lifetime = 2.0
|
||||
preprocess = 3.0
|
||||
explosiveness = 0.5
|
||||
mesh = SubResource("QuadMesh_uqum3")
|
||||
direction = Vector3(1, 1, 0)
|
||||
spread = 90.0
|
||||
flatness = 1.0
|
||||
gravity = Vector3(0, 0.1, 0)
|
||||
linear_accel_curve = SubResource("Curve_px5jj")
|
||||
anim_speed_max = 60.44
|
||||
anim_speed_curve = SubResource("Curve_l10dy")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
||||
layers = 1023
|
||||
material_override = SubResource("StandardMaterial3D_a31vv")
|
||||
cast_shadow = 0
|
||||
gi_mode = 2
|
||||
mesh = SubResource("QuadMesh_iwcmf")
|
||||
script = ExtResource("2_uo4p0")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
|
||||
transparent_bg = true
|
||||
positional_shadow_atlas_quad_0 = 0
|
||||
canvas_cull_mask = 4294966273
|
||||
size = Vector2i(3000, 3000)
|
||||
|
||||
[node name="SpineSprite" type="SpineSprite" parent="MeshInstance3D/SubViewport"]
|
||||
light_mask = 0
|
||||
visibility_layer = 3
|
||||
position = Vector2(742, 266)
|
||||
scale = Vector2(1.1, 1.1)
|
||||
skeleton_data_res = SubResource("SpineSkeletonDataResource_1vk02")
|
||||
normal_material = SubResource("CanvasItemMaterial_232ej")
|
||||
preview_skin = "default"
|
||||
preview_animation = "animation"
|
||||
preview_frame = false
|
||||
preview_time = 0.733333
|
||||
script = ExtResource("5_6ck5e")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_wn1m5")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="." groups=["Player"]]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("CylinderShape3D_cbp6h")
|
||||
6
assets/characters/evilcoco/spine.atlas
Normal file
@ -0,0 +1,6 @@
|
||||
spine.png
|
||||
size:701,1271
|
||||
filter:Linear,Linear
|
||||
scale:0.5
|
||||
b
|
||||
bounds:2,2,697,1267
|
||||
15
assets/characters/evilcoco/spine.atlas.import
Normal file
@ -0,0 +1,15 @@
|
||||
[remap]
|
||||
|
||||
importer="spine.atlas"
|
||||
type="SpineAtlasResource"
|
||||
uid="uid://cjwkukvcvdmyb"
|
||||
path="res://.godot/imported/spine.atlas-286c028408ce41e57add82485658ad95.spatlas"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/characters/evilcoco/spine.atlas"
|
||||
dest_files=["res://.godot/imported/spine.atlas-286c028408ce41e57add82485658ad95.spatlas"]
|
||||
|
||||
[params]
|
||||
|
||||
normal_map_prefix="n"
|
||||
BIN
assets/characters/evilcoco/spine.png
Normal file
|
After Width: | Height: | Size: 645 KiB |
34
assets/characters/evilcoco/spine.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ocxv0ah5fe47"
|
||||
path="res://.godot/imported/spine.png-517eb8ebbf3ed0602f74cbf652d4ea3a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/characters/evilcoco/spine.png"
|
||||
dest_files=["res://.godot/imported/spine.png-517eb8ebbf3ed0602f74cbf652d4ea3a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/characters/evilcoco/spine.skel
Normal file
14
assets/characters/evilcoco/spine.skel.import
Normal file
@ -0,0 +1,14 @@
|
||||
[remap]
|
||||
|
||||
importer="spine.skel"
|
||||
type="SpineSkeletonFileResource"
|
||||
uid="uid://bx3cdcuxwwy7o"
|
||||
path="res://.godot/imported/spine.skel-556704653d8f11e797abf4f1ac097919.spskel"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/characters/evilcoco/spine.skel"
|
||||
dest_files=["res://.godot/imported/spine.skel-556704653d8f11e797abf4f1ac097919.spskel"]
|
||||
|
||||
[params]
|
||||
|
||||
62
assets/characters/npc.gdshader
Normal file
@ -0,0 +1,62 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec4 color : source_color = vec4(1.0);
|
||||
uniform float width : hint_range(0, 10) = 1.0;
|
||||
uniform int pattern : hint_range(0, 2) = 0; // diamond, circle, square
|
||||
uniform bool inside = false;
|
||||
uniform bool add_margins = true; // only useful when inside is false
|
||||
|
||||
void vertex() {
|
||||
if (add_margins) {
|
||||
VERTEX += (UV * 2.0 - 1.0) * width;
|
||||
}
|
||||
}
|
||||
|
||||
bool hasContraryNeighbour(vec2 uv, vec2 texture_pixel_size, sampler2D texture) {
|
||||
for (float i = -ceil(width); i <= ceil(width); i++) {
|
||||
float x = abs(i) > width ? width * sign(i) : i;
|
||||
float offset;
|
||||
|
||||
if (pattern == 0) {
|
||||
offset = width - abs(x);
|
||||
} else if (pattern == 1) {
|
||||
offset = floor(sqrt(pow(width + 0.5, 2) - x * x));
|
||||
} else if (pattern == 2) {
|
||||
offset = width;
|
||||
}
|
||||
|
||||
for (float j = -ceil(offset); j <= ceil(offset); j++) {
|
||||
float y = abs(j) > offset ? offset * sign(j) : j;
|
||||
vec2 xy = uv + texture_pixel_size * vec2(x, y);
|
||||
|
||||
if ((xy != clamp(xy, vec2(0.0), vec2(1.0)) || texture(texture, xy).a <= 0.0) == inside) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec2 uv = UV;
|
||||
|
||||
if (add_margins) {
|
||||
vec2 texture_pixel_size = vec2(1.0) / (vec2(1.0) / TEXTURE_PIXEL_SIZE + vec2(width * 2.0));
|
||||
|
||||
uv = (uv - texture_pixel_size * width) * TEXTURE_PIXEL_SIZE / texture_pixel_size;
|
||||
|
||||
if (uv != clamp(uv, vec2(0.0), vec2(1.0))) {
|
||||
COLOR.a = 0.0;
|
||||
} else {
|
||||
COLOR = texture(TEXTURE, uv);
|
||||
}
|
||||
} else {
|
||||
COLOR = texture(TEXTURE, uv);
|
||||
}
|
||||
|
||||
if ((COLOR.a > 0.0) == inside && hasContraryNeighbour(uv, TEXTURE_PIXEL_SIZE, TEXTURE)) {
|
||||
COLOR.rgb = inside ? mix(COLOR.rgb, color.rgb, color.a) : color.rgb;
|
||||
COLOR.a += (1.0 - COLOR.a) * color.a;
|
||||
}
|
||||
}
|
||||
@ -1,25 +1,55 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://cbfoxxoamehgg"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://cbfoxxoamehgg"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://kw5ymmorwkvp" path="res://addons/cyclops_level_builder/materials/outline_material.tres" id="2_uborn"]
|
||||
[ext_resource type="Script" path="res://src/viewport.gd" id="3_1olx4"]
|
||||
[ext_resource type="SpineAtlasResource" uid="uid://bo3ljqyv75e4b" path="res://assets/characters/pasadena/spine.atlas" id="4_tbp5u"]
|
||||
[ext_resource type="SpineAtlasResource" uid="uid://daqwxuavhnvus" path="res://assets/characters/pasadena/spine.atlas" id="4_tbp5u"]
|
||||
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="5_f351d"]
|
||||
[ext_resource type="SpineSkeletonFileResource" uid="uid://dy0llktw1x7i6" path="res://assets/characters/pasadena/spine.skel" id="5_k5je5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj20ug78dpiv7" path="res://assets/fx/questionmark.png" id="5_hvfvd"]
|
||||
[ext_resource type="SpineSkeletonFileResource" uid="uid://cckcloyvyljjb" path="res://assets/characters/pasadena/spine.skel" id="5_k5je5"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_5dikh"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s0iww"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
diffuse_mode = 3
|
||||
specular_mode = 2
|
||||
albedo_texture = ExtResource("5_hvfvd")
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_uqum3"]
|
||||
material = SubResource("StandardMaterial3D_s0iww")
|
||||
size = Vector2(0.1, 0.1)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_px5jj"]
|
||||
min_value = -200.0
|
||||
max_value = 200.0
|
||||
_data = [Vector2(0, 149.721), 0.0, 0.0, 0, 0, Vector2(0.519757, 25.9576), -848.296, -848.296, 0, 0, Vector2(0.966565, -105.541), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="Curve" id="Curve_l10dy"]
|
||||
max_value = 200.0
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_e5vbb"]
|
||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
||||
next_pass = ExtResource("2_uborn")
|
||||
transparency = 1
|
||||
blend_mode = 4
|
||||
no_depth_test = true
|
||||
shading_mode = 0
|
||||
diffuse_mode = 3
|
||||
specular_mode = 1
|
||||
disable_fog = true
|
||||
vertex_color_use_as_albedo = true
|
||||
albedo_texture = SubResource("ViewportTexture_5dikh")
|
||||
albedo_texture = SubResource("ViewportTexture_e5vbb")
|
||||
texture_filter = 0
|
||||
texture_repeat = false
|
||||
billboard_mode = 1
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
||||
lightmap_size_hint = Vector2i(7, 7)
|
||||
|
||||
[sub_resource type="SpineAnimationMix" id="SpineAnimationMix_piuq6"]
|
||||
from = "animation"
|
||||
@ -30,8 +60,6 @@ atlas_res = ExtResource("4_tbp5u")
|
||||
skeleton_file_res = ExtResource("5_k5je5")
|
||||
animation_mixes = [SubResource("SpineAnimationMix_piuq6")]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_232ej"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wn1m5"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cbp6h"]
|
||||
@ -42,11 +70,28 @@ axis_lock_angular_x = true
|
||||
axis_lock_angular_y = true
|
||||
axis_lock_angular_z = true
|
||||
|
||||
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0637626, 0.611801, 0)
|
||||
visible = false
|
||||
cast_shadow = 0
|
||||
gi_mode = 0
|
||||
amount = 1
|
||||
lifetime = 2.0
|
||||
preprocess = 3.0
|
||||
explosiveness = 0.5
|
||||
mesh = SubResource("QuadMesh_uqum3")
|
||||
direction = Vector3(1, 1, 0)
|
||||
spread = 90.0
|
||||
flatness = 1.0
|
||||
gravity = Vector3(0, 0.1, 0)
|
||||
linear_accel_curve = SubResource("Curve_px5jj")
|
||||
anim_speed_max = 60.44
|
||||
anim_speed_curve = SubResource("Curve_l10dy")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
||||
layers = 4
|
||||
layers = 1023
|
||||
material_override = SubResource("StandardMaterial3D_a31vv")
|
||||
cast_shadow = 0
|
||||
gi_mode = 0
|
||||
mesh = SubResource("QuadMesh_iwcmf")
|
||||
script = ExtResource("3_1olx4")
|
||||
@ -58,10 +103,9 @@ canvas_cull_mask = 4294966273
|
||||
size = Vector2i(3000, 3000)
|
||||
|
||||
[node name="SpineSprite" type="SpineSprite" parent="MeshInstance3D/SubViewport"]
|
||||
light_mask = 0
|
||||
position = Vector2(42, 256)
|
||||
position = Vector2(42, -207)
|
||||
skeleton_data_res = SubResource("SpineSkeletonDataResource_ufcij")
|
||||
normal_material = SubResource("CanvasItemMaterial_232ej")
|
||||
meshes = true
|
||||
preview_skin = "default"
|
||||
preview_animation = "animation"
|
||||
preview_frame = true
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
importer="spine.atlas"
|
||||
type="SpineAtlasResource"
|
||||
uid="uid://bo3ljqyv75e4b"
|
||||
uid="uid://daqwxuavhnvus"
|
||||
path="res://.godot/imported/spine.atlas-ed2b346c97cec6d1dc959b99f669e60c.spatlas"
|
||||
|
||||
[deps]
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://56k0q57ja83x"
|
||||
uid="uid://c6og5bpp8gt61"
|
||||
path="res://.godot/imported/spine.png-9b174fb346cacc3fa8ed6a403536a860.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
importer="spine.skel"
|
||||
type="SpineSkeletonFileResource"
|
||||
uid="uid://dy0llktw1x7i6"
|
||||
uid="uid://cckcloyvyljjb"
|
||||
path="res://.godot/imported/spine.skel-332b4935e83ec0a0fab3586b58715043.spskel"
|
||||
|
||||
[deps]
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
[gd_resource type="SpineSkeletonDataResource" load_steps=3 format=3 uid="uid://co37n66nu3fou"]
|
||||
|
||||
[ext_resource type="SpineAtlasResource" uid="uid://bo3ljqyv75e4b" path="res://assets/characters/pasadena/spine.atlas" id="1_qcbfr"]
|
||||
[ext_resource type="SpineSkeletonFileResource" uid="uid://dy0llktw1x7i6" path="res://assets/characters/pasadena/spine.skel" id="2_hiqtl"]
|
||||
|
||||
[resource]
|
||||
atlas_res = ExtResource("1_qcbfr")
|
||||
skeleton_file_res = ExtResource("2_hiqtl")
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cx4w3t8bytwp5"
|
||||
uid="uid://d0npdl6rpk2bq"
|
||||
path="res://.godot/imported/spine_2.png-2313c2edf530b4b75c392b1bbf0e8159.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
extends CharacterBody3D
|
||||
|
||||
const SPEED = 150.0
|
||||
const RUN_SPEED = 400.0
|
||||
const JUMP_VELOCITY = 200
|
||||
|
||||
signal test
|
||||
@ -11,8 +12,11 @@ func _physics_process(delta: float) -> void:
|
||||
# Add the gravity.
|
||||
if not is_on_floor():
|
||||
velocity += get_gravity() * delta
|
||||
self.velocity.x = delta * SPEED * Input.get_axis("move_left", "move_right")
|
||||
self.velocity.z = delta * SPEED * Input.get_axis("move_forward", "move_back")
|
||||
var k = RUN_SPEED if Input.is_key_pressed(KEY_SHIFT) else SPEED
|
||||
self.velocity.x = delta * k * Input.get_axis("move_left", "move_right")
|
||||
self.velocity.z = delta * k * Input.get_axis("move_forward", "move_back")
|
||||
|
||||
Messagebus.DEBUG_XYZ.emit(self.global_transform.origin)
|
||||
|
||||
if Input.is_key_pressed(KEY_SPACE) and is_on_floor():
|
||||
self.velocity.y = delta * JUMP_VELOCITY
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
[ext_resource type="Script" path="res://src/camera_3d.gd" id="2_cjtsr"]
|
||||
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="4_bwb5d"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_472lm"]
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_qwn1y"]
|
||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xxpu"]
|
||||
@ -15,7 +15,7 @@ viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
next_pass = SubResource("ShaderMaterial_5xxpu")
|
||||
transparency = 1
|
||||
diffuse_mode = 3
|
||||
albedo_texture = SubResource("ViewportTexture_472lm")
|
||||
albedo_texture = SubResource("ViewportTexture_qwn1y")
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
||||
|
||||
@ -31,7 +31,8 @@ axis_lock_angular_z = true
|
||||
script = ExtResource("1_fwkda")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(0.999987, -0.00490892, -0.00171441, 0.00514322, 0.982274, 0.187381, 0.000764184, -0.187388, 0.982286, -0.015, 1.154, 5.342)
|
||||
transform = Transform3D(0.999987, -0.00490892, -0.00171441, 0.00514322, 0.982274, 0.187382, 0.000764184, -0.187388, 0.982286, 0.116849, 1.154, 5.342)
|
||||
projection = 1
|
||||
current = true
|
||||
fov = 19.0
|
||||
size = 1.5
|
||||
@ -39,7 +40,6 @@ far = 1000.0
|
||||
script = ExtResource("2_cjtsr")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(0.999996, 0.0005929, -0.00274461, 0, 0.977453, 0.211152, 0.00280793, -0.211152, 0.977449, 0, 0, 0)
|
||||
layers = 2
|
||||
material_override = SubResource("StandardMaterial3D_a31vv")
|
||||
cast_shadow = 0
|
||||
@ -70,4 +70,5 @@ shape = SubResource("CylinderShape3D_wn1m5")
|
||||
[node name="Area3D" type="Area3D" parent="." groups=["Player"]]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_cbp6h")
|
||||
|
||||
6
assets/characters/tawna/tawna.atlas
Normal file
@ -0,0 +1,6 @@
|
||||
tawna.png
|
||||
size:505,1153
|
||||
filter:Linear,Linear
|
||||
scale:0.5
|
||||
tawna
|
||||
bounds:2,2,501,1149
|
||||
15
assets/characters/tawna/tawna.atlas.import
Normal file
@ -0,0 +1,15 @@
|
||||
[remap]
|
||||
|
||||
importer="spine.atlas"
|
||||
type="SpineAtlasResource"
|
||||
uid="uid://bac2ko1orky48"
|
||||
path="res://.godot/imported/tawna.atlas-3ec102913d63f117e2d8916ba14112fb.spatlas"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/characters/tawna/tawna.atlas"
|
||||
dest_files=["res://.godot/imported/tawna.atlas-3ec102913d63f117e2d8916ba14112fb.spatlas"]
|
||||
|
||||
[params]
|
||||
|
||||
normal_map_prefix="n"
|
||||
BIN
assets/characters/tawna/tawna.png
Normal file
|
After Width: | Height: | Size: 550 KiB |
34
assets/characters/tawna/tawna.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://domcsr135jpih"
|
||||
path="res://.godot/imported/tawna.png-15474ec4a832301f89f22d921c26a9d6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/characters/tawna/tawna.png"
|
||||
dest_files=["res://.godot/imported/tawna.png-15474ec4a832301f89f22d921c26a9d6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/characters/tawna/tawna.skel
Normal file
14
assets/characters/tawna/tawna.skel.import
Normal file
@ -0,0 +1,14 @@
|
||||
[remap]
|
||||
|
||||
importer="spine.skel"
|
||||
type="SpineSkeletonFileResource"
|
||||
uid="uid://cpcxsxts2usbm"
|
||||
path="res://.godot/imported/tawna.skel-2f97119d6dcadd0856154281966e0a55.spskel"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/characters/tawna/tawna.skel"
|
||||
dest_files=["res://.godot/imported/tawna.skel-2f97119d6dcadd0856154281966e0a55.spskel"]
|
||||
|
||||
[params]
|
||||
|
||||
117
assets/characters/tawna/tawna.tscn
Normal file
@ -0,0 +1,117 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://dsr0pdtda86ix"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dj20ug78dpiv7" path="res://assets/fx/questionmark.png" id="1_547n7"]
|
||||
[ext_resource type="Material" uid="uid://kw5ymmorwkvp" path="res://addons/cyclops_level_builder/materials/outline_material.tres" id="2_2icy7"]
|
||||
[ext_resource type="Script" path="res://src/viewport.gd" id="3_rv1la"]
|
||||
[ext_resource type="SpineAtlasResource" uid="uid://bac2ko1orky48" path="res://assets/characters/tawna/tawna.atlas" id="4_ykoq7"]
|
||||
[ext_resource type="SpineSkeletonFileResource" uid="uid://cpcxsxts2usbm" path="res://assets/characters/tawna/tawna.skel" id="5_5nhlh"]
|
||||
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="6_tgwbg"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s0iww"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
diffuse_mode = 3
|
||||
specular_mode = 2
|
||||
albedo_texture = ExtResource("1_547n7")
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_uqum3"]
|
||||
material = SubResource("StandardMaterial3D_s0iww")
|
||||
size = Vector2(0.1, 0.1)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_px5jj"]
|
||||
min_value = -200.0
|
||||
max_value = 200.0
|
||||
_data = [Vector2(0, 149.721), 0.0, 0.0, 0, 0, Vector2(0.519757, 25.9576), -848.296, -848.296, 0, 0, Vector2(0.966565, -105.541), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="Curve" id="Curve_l10dy"]
|
||||
max_value = 200.0
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_bk5lj"]
|
||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
||||
next_pass = ExtResource("2_2icy7")
|
||||
transparency = 1
|
||||
diffuse_mode = 3
|
||||
specular_mode = 1
|
||||
albedo_texture = SubResource("ViewportTexture_bk5lj")
|
||||
billboard_mode = 1
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
||||
lightmap_size_hint = Vector2i(7, 7)
|
||||
size = Vector2(2, 2)
|
||||
|
||||
[sub_resource type="SpineAnimationMix" id="SpineAnimationMix_piuq6"]
|
||||
from = "animation"
|
||||
to = "animation"
|
||||
|
||||
[sub_resource type="SpineSkeletonDataResource" id="SpineSkeletonDataResource_ufcij"]
|
||||
atlas_res = ExtResource("4_ykoq7")
|
||||
skeleton_file_res = ExtResource("5_5nhlh")
|
||||
animation_mixes = [SubResource("SpineAnimationMix_piuq6")]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wn1m5"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cbp6h"]
|
||||
|
||||
[node name="NPC_Tawna" type="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48192, 0)
|
||||
axis_lock_angular_x = true
|
||||
axis_lock_angular_y = true
|
||||
axis_lock_angular_z = true
|
||||
|
||||
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0637626, 0.611801, 0)
|
||||
visible = false
|
||||
cast_shadow = 0
|
||||
gi_mode = 0
|
||||
amount = 1
|
||||
lifetime = 2.0
|
||||
preprocess = 3.0
|
||||
explosiveness = 0.5
|
||||
mesh = SubResource("QuadMesh_uqum3")
|
||||
direction = Vector3(1, 1, 0)
|
||||
spread = 90.0
|
||||
flatness = 1.0
|
||||
gravity = Vector3(0, 0.1, 0)
|
||||
linear_accel_curve = SubResource("Curve_px5jj")
|
||||
anim_speed_max = 60.44
|
||||
anim_speed_curve = SubResource("Curve_l10dy")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.695467, -0.209618, 0)
|
||||
layers = 1023
|
||||
material_override = SubResource("StandardMaterial3D_a31vv")
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("QuadMesh_iwcmf")
|
||||
script = ExtResource("3_rv1la")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
|
||||
transparent_bg = true
|
||||
canvas_cull_mask = 4294966273
|
||||
size = Vector2i(3700, 3700)
|
||||
|
||||
[node name="SpineSprite" type="SpineSprite" parent="MeshInstance3D/SubViewport"]
|
||||
skeleton_data_res = SubResource("SpineSkeletonDataResource_ufcij")
|
||||
meshes = true
|
||||
preview_skin = "default"
|
||||
preview_animation = "animation"
|
||||
preview_frame = true
|
||||
preview_time = 0.0
|
||||
script = ExtResource("6_tgwbg")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_wn1m5")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="." groups=["Player"]]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("CylinderShape3D_cbp6h")
|
||||
BIN
assets/clear+sea+water-2048x2048.png
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
35
assets/clear+sea+water-2048x2048.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://co5mbkfdg2oh2"
|
||||
path.s3tc="res://.godot/imported/clear+sea+water-2048x2048.png-e6cd9a997d0d9b35f03b1222883a6fdc.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/clear+sea+water-2048x2048.png"
|
||||
dest_files=["res://.godot/imported/clear+sea+water-2048x2048.png-e6cd9a997d0d9b35f03b1222883a6fdc.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
assets/fx/questionmark.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
35
assets/fx/questionmark.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dj20ug78dpiv7"
|
||||
path.s3tc="res://.godot/imported/questionmark.png-fa2350ceea9ce7c448efc8160bfd4156.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fx/questionmark.png"
|
||||
dest_files=["res://.godot/imported/questionmark.png-fa2350ceea9ce7c448efc8160bfd4156.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
@ -1,11 +0,0 @@
|
||||
extends CollisionShape3D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@ -1,41 +0,0 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec4 bottom_color: source_color = vec4(1.0);
|
||||
uniform vec4 top_color: source_color = vec4(vec3(0.0), 1.0);
|
||||
|
||||
uniform sampler2D tex;
|
||||
uniform int layer_count: hint_range(2, 80, 1);
|
||||
uniform float time_scale: hint_range(0.0, 1.0) = 0.2;
|
||||
uniform float base_intensity: hint_range(0.0, 1.0) = 0.5;
|
||||
uniform float size: hint_range(0.00001, 1.0) = 0.1;
|
||||
|
||||
|
||||
vec4 lerp(vec4 a, vec4 b, float w) {
|
||||
return a + w * (b - a);
|
||||
}
|
||||
|
||||
|
||||
float fmod(float x, float y) {
|
||||
return x - floor(x / y) * y;
|
||||
}
|
||||
|
||||
|
||||
float rand(float n){return fract(sin(n) * 43758.5453123);}
|
||||
|
||||
|
||||
bool cloud_layer(float x, float y, float h) {
|
||||
return y - sqrt((1.0 - pow(y - h, 2.0))) * base_intensity * texture(tex, vec2(fmod(x / size + rand(h), 1.0), fmod(y / size - TIME * time_scale, 1.0))).r < h;
|
||||
}
|
||||
|
||||
|
||||
void fragment() {
|
||||
float y = 1.0 - UV.y;
|
||||
|
||||
for (int i = 0; i < layer_count; i++) {
|
||||
float h = float(i) / float(layer_count - 1);
|
||||
if (cloud_layer(UV.x, y, h)) {
|
||||
COLOR = lerp(bottom_color, top_color, h);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,126 +0,0 @@
|
||||
[gd_scene load_steps=22 format=3 uid="uid://b2b0sgltiefki"]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/levels/level_1.gd" id="1_4n7jv"]
|
||||
[ext_resource type="Texture2D" uid="uid://h04a4ju855bp" path="res://assets/objects/kenney_prototype-textures/PNG/Dark/texture_02.png" id="1_xris1"]
|
||||
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="2_8p87y"]
|
||||
[ext_resource type="PackedScene" uid="uid://s1ftlvvluili" path="res://assets/objects/box_small/box_small.tscn" id="2_ml88v"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/objects/transition.tscn" id="5_if8du"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2hrbmuimfxj8" path="res://assets/levels/level2.tscn" id="6_cjkey"]
|
||||
[ext_resource type="Script" path="res://src/viewport.gd" id="6_uuo0x"]
|
||||
[ext_resource type="Texture2D" uid="uid://x60cxv42nmsa" path="res://assets/bubbles.png" id="7_el3mb"]
|
||||
[ext_resource type="PackedScene" uid="uid://bh6be020myw3t" path="res://assets/levels/level3.tscn" id="7_n0sps"]
|
||||
[ext_resource type="Shader" path="res://assets/levels/test.gdshader" id="8_68tud"]
|
||||
[ext_resource type="PackedScene" uid="uid://cbfoxxoamehgg" path="res://assets/characters/npc.tscn" id="9_kit50"]
|
||||
[ext_resource type="PackedScene" uid="uid://ck73aacpkronl" path="res://assets/objects/wall/wall.tscn" id="10_dy0n7"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_06i34"]
|
||||
background_mode = 2
|
||||
sky_custom_fov = 1.5
|
||||
tonemap_mode = 2
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_er7pi"]
|
||||
albedo_texture = ExtResource("1_xris1")
|
||||
uv1_triplanar = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_u412x"]
|
||||
lightmap_size_hint = Vector2i(52, 52)
|
||||
material = SubResource("StandardMaterial3D_er7pi")
|
||||
size = Vector2(10, 5)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_flcen"]
|
||||
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_udj7f"]
|
||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mdr1l"]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.5
|
||||
alpha_antialiasing_mode = 0
|
||||
albedo_texture = SubResource("ViewportTexture_udj7f")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrfyr"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_dquro"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_d4amb"]
|
||||
shader = ExtResource("8_68tud")
|
||||
shader_parameter/bottom_color = Color(0.34902, 1, 1, 1)
|
||||
shader_parameter/top_color = Color(0.312314, 0.589497, 0.370244, 1)
|
||||
shader_parameter/layer_count = 7
|
||||
shader_parameter/time_scale = 0.2
|
||||
shader_parameter/base_intensity = 0.5
|
||||
shader_parameter/size = 0.92001
|
||||
shader_parameter/tex = ExtResource("7_el3mb")
|
||||
|
||||
[node name="Level" type="Node3D"]
|
||||
script = ExtResource("1_4n7jv")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_06i34")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.990369, 0.119902, -0.0692252, 0, 0.499998, 0.866027, 0.138451, -0.857686, 0.495183, 0, 3.47491, 2.77581)
|
||||
layers = 0
|
||||
light_cull_mask = 4293918720
|
||||
shadow_reverse_cull_face = true
|
||||
shadow_opacity = 0.0
|
||||
shadow_blur = 0.0
|
||||
directional_shadow_mode = 0
|
||||
directional_shadow_max_distance = 54.0
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("PlaneMesh_u412x")
|
||||
skeleton = NodePath("../DirectionalLight3D")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Floor"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor/StaticBody3D"]
|
||||
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
|
||||
shape = SubResource("ConcavePolygonShape3D_flcen")
|
||||
|
||||
[node name="Box" parent="." instance=ExtResource("2_8p87y")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.31663, 0.5, 0)
|
||||
|
||||
[node name="Box2" parent="." instance=ExtResource("2_ml88v")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.61149, 0.132777, -0.890927)
|
||||
|
||||
[node name="Transition" parent="." instance=ExtResource("5_if8du")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0.0325054, 0)
|
||||
to_ = ExtResource("7_n0sps")
|
||||
|
||||
[node name="Transition2" parent="." instance=ExtResource("5_if8du")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.51772, 0.0276638, 0.00178146)
|
||||
to_ = ExtResource("6_cjkey")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.260875, -0.965373, 0, 0.965373, 0.260875, -0.797396, 0.00474185, -1.24873)
|
||||
material_override = SubResource("StandardMaterial3D_mdr1l")
|
||||
material_overlay = SubResource("ShaderMaterial_lrfyr")
|
||||
mesh = SubResource("PlaneMesh_dquro")
|
||||
skeleton = NodePath("../CanvasLayer")
|
||||
script = ExtResource("6_uuo0x")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="MeshInstance3D/SubViewport"]
|
||||
light_mask = 0
|
||||
material = SubResource("ShaderMaterial_d4amb")
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
|
||||
[node name="NPC" parent="." instance=ExtResource("9_kit50")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.565993, 0.48192, -0.421152)
|
||||
|
||||
[node name="Wall" parent="." instance=ExtResource("10_dy0n7")]
|
||||
transform = Transform3D(-7.52286e-09, 0, 1, 0, 1, 0, -0.172103, 0, -4.37114e-08, -2, 0, -2)
|
||||
|
||||
[node name="DirectionalLight3D2" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 1, 0)
|
||||
visible = false
|
||||
layers = 0
|
||||
light_energy = 0.831
|
||||
light_bake_mode = 0
|
||||
light_cull_mask = 4294443008
|
||||
@ -1,64 +0,0 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://b2hrbmuimfxj8"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://h04a4ju855bp" path="res://assets/objects/kenney_prototype-textures/PNG/Dark/texture_02.png" id="1_54j28"]
|
||||
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="2_owuk1"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/objects/transition.tscn" id="3_p5ecg"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2b0sgltiefki" path="res://assets/levels/level1.tscn" id="4_sk633"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tp8ku"]
|
||||
sky_top_color = Color(0.129, 0.129, 0.129, 1)
|
||||
sky_horizon_color = Color(0.129, 0.129, 0.129, 1)
|
||||
ground_bottom_color = Color(0.129, 0.129, 0.129, 1)
|
||||
ground_horizon_color = Color(0.129, 0.129, 0.129, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_shl8g"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_tp8ku")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_d3cpo"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_shl8g")
|
||||
tonemap_mode = 2
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t7r8y"]
|
||||
albedo_texture = ExtResource("1_54j28")
|
||||
uv1_triplanar = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_ka7wb"]
|
||||
lightmap_size_hint = Vector2i(52, 52)
|
||||
material = SubResource("StandardMaterial3D_t7r8y")
|
||||
size = Vector2(50, 50)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_w1gda"]
|
||||
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
|
||||
|
||||
[node name="Level" type="Node3D"]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_d3cpo")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.990369, 0.119902, -0.0692252, 0, 0.499998, 0.866027, 0.138451, -0.857686, 0.495183, 0, 3.47491, 2.77581)
|
||||
light_energy = 0.454
|
||||
shadow_enabled = true
|
||||
directional_shadow_max_distance = 54.0
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00175023, -5.96046e-08, 0.00229335)
|
||||
mesh = SubResource("PlaneMesh_ka7wb")
|
||||
skeleton = NodePath("../DirectionalLight3D")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Floor"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor/StaticBody3D"]
|
||||
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
|
||||
shape = SubResource("ConcavePolygonShape3D_w1gda")
|
||||
|
||||
[node name="Box" parent="." instance=ExtResource("2_owuk1")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.00805, 0.25778, -0.993837)
|
||||
|
||||
[node name="Box2" parent="." instance=ExtResource("2_owuk1")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.447608, 0.258858, -2.72201)
|
||||
|
||||
[node name="Transition" parent="." instance=ExtResource("3_p5ecg")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.55105, 0.0474857, -0.0136185)
|
||||
to_ = ExtResource("4_sk633")
|
||||
243
assets/levels/maps/debug1.tscn
Normal file
@ -0,0 +1,243 @@
|
||||
[gd_scene load_steps=32 format=3 uid="uid://b2b0sgltiefki"]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/levels/level_1.gd" id="1_irx2k"]
|
||||
[ext_resource type="Shader" path="res://assets/objects/box/box.gdshader" id="2_lq1r3"]
|
||||
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="3_hwtpr"]
|
||||
[ext_resource type="PackedScene" uid="uid://s1ftlvvluili" path="res://assets/objects/box_small/box_small.tscn" id="4_vyo4f"]
|
||||
[ext_resource type="Script" path="res://src/viewport.gd" id="5_icm43"]
|
||||
[ext_resource type="Texture2D" uid="uid://x60cxv42nmsa" path="res://assets/bubbles.png" id="7_ax433"]
|
||||
[ext_resource type="PackedScene" uid="uid://cbfoxxoamehgg" path="res://assets/characters/npc.tscn" id="8_s3ti8"]
|
||||
[ext_resource type="PackedScene" uid="uid://ck73aacpkronl" path="res://assets/objects/wall/wall.tscn" id="9_ltwas"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/levels/transition.tscn" id="10_pfg6d"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6wa6j22hja5s" path="res://assets/objects/wumpa/wumpa.tscn" id="11_1vcas"]
|
||||
[ext_resource type="Shader" path="res://assets/levels/maps/water.gdshader" id="12_eau7f"]
|
||||
[ext_resource type="PackedScene" uid="uid://36j8rok6pdoh" path="res://assets/characters/evilcoco.tscn" id="12_o5554"]
|
||||
[ext_resource type="Texture2D" uid="uid://co5mbkfdg2oh2" path="res://assets/clear+sea+water-2048x2048.png" id="13_teycd"]
|
||||
[ext_resource type="Shader" path="res://assets/levels/maps/skybox.gdshader" id="14_teuv4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bteibup5xcwah" path="res://assets/objects/kenney_nature-kit/Isometric/cliff_blockSlopeWalls_rock_NE.png" id="15_rqu8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://dsr0pdtda86ix" path="res://assets/characters/tawna/tawna.tscn" id="16_e5ajb"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_06i34"]
|
||||
background_mode = 2
|
||||
sky_custom_fov = 1.5
|
||||
tonemap_mode = 2
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_okcrm"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_lq1r3")
|
||||
shader_parameter/world_uv = false
|
||||
shader_parameter/object_uv = false
|
||||
shader_parameter/object_uv_scale = Vector2(1, 1)
|
||||
shader_parameter/preset_color = 0
|
||||
shader_parameter/base_color = Color(8.66354e-07, 0.492935, 0.605938, 1)
|
||||
shader_parameter/metalic = 0.25
|
||||
shader_parameter/roughness = 0.75
|
||||
shader_parameter/grid_scale = 1.0
|
||||
shader_parameter/grid_width = 0.01
|
||||
shader_parameter/grid_color = Color(0.8, 0.8, 0.8, 1)
|
||||
shader_parameter/inside_scale = 1.0
|
||||
shader_parameter/inside_width = 0.01
|
||||
shader_parameter/inside_color = Color(0.8, 0.8, 0.8, 0.8)
|
||||
shader_parameter/checkered = true
|
||||
shader_parameter/sub_checkered_grid = false
|
||||
shader_parameter/checkered_color = Color(0.25, 0.25, 0.25, 1)
|
||||
shader_parameter/checkered_blend_color = 0.1
|
||||
shader_parameter/use_inside_uv = false
|
||||
shader_parameter/use_albedo_color = false
|
||||
shader_parameter/albedo_alpha = 0.5
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_u412x"]
|
||||
lightmap_size_hint = Vector2i(52, 52)
|
||||
material = SubResource("ShaderMaterial_okcrm")
|
||||
size = Vector2(10, 5)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_flcen"]
|
||||
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_fj0e8"]
|
||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mdr1l"]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.5
|
||||
alpha_antialiasing_mode = 0
|
||||
albedo_texture = SubResource("ViewportTexture_fj0e8")
|
||||
metallic_specular = 0.0
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrfyr"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_dquro"]
|
||||
lightmap_size_hint = Vector2i(12, 12)
|
||||
|
||||
[sub_resource type="Shader" id="Shader_r5v63"]
|
||||
code = "shader_type canvas_item;
|
||||
|
||||
uniform vec4 bottom_color: source_color = vec4(1.0);
|
||||
uniform vec4 top_color: source_color = vec4(vec3(0.0), 1.0);
|
||||
|
||||
uniform sampler2D tex;
|
||||
uniform int layer_count: hint_range(2, 80, 1);
|
||||
uniform float time_scale: hint_range(0.0, 1.0) = 0.2;
|
||||
uniform float base_intensity: hint_range(0.0, 1.0) = 0.5;
|
||||
uniform float size: hint_range(0.00001, 1.0) = 0.1;
|
||||
|
||||
|
||||
vec4 lerp(vec4 a, vec4 b, float w) {
|
||||
return a + w * (b - a);
|
||||
}
|
||||
|
||||
|
||||
float fmod(float x, float y) {
|
||||
return x - floor(x / y) * y;
|
||||
}
|
||||
|
||||
|
||||
float rand(float n){return fract(sin(n) * 43758.5453123);}
|
||||
|
||||
|
||||
bool cloud_layer(float x, float y, float h) {
|
||||
return y - sqrt((1.0 - pow(y - h, 2.0))) * base_intensity * texture(tex, vec2(fmod(x / size + rand(h), 1.0), fmod(y / size - TIME * time_scale, 1.0))).r < h;
|
||||
}
|
||||
|
||||
|
||||
void fragment() {
|
||||
float y = 1.0 - UV.y;
|
||||
|
||||
for (int i = 0; i < layer_count; i++) {
|
||||
float h = float(i) / float(layer_count - 1);
|
||||
if (cloud_layer(UV.x, y, h)) {
|
||||
COLOR = lerp(bottom_color, top_color, h);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}"
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_d4amb"]
|
||||
shader = SubResource("Shader_r5v63")
|
||||
shader_parameter/bottom_color = Color(1, 0.35, 0.458334, 1)
|
||||
shader_parameter/top_color = Color(0.312314, 0.589497, 0.370244, 1)
|
||||
shader_parameter/layer_count = 10
|
||||
shader_parameter/time_scale = 0.039
|
||||
shader_parameter/base_intensity = 0.925
|
||||
shader_parameter/size = 0.95501
|
||||
shader_parameter/tex = ExtResource("7_ax433")
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_g7yxe"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hd6db"]
|
||||
resource_local_to_scene = true
|
||||
render_priority = 0
|
||||
shader = ExtResource("12_eau7f")
|
||||
shader_parameter/albedo = Color(0.32549, 0.407843, 0.588235, 1)
|
||||
shader_parameter/scroll_speed1 = Vector2(0.05, 0)
|
||||
shader_parameter/scroll_speed2 = Vector2(-0.03, 0)
|
||||
shader_parameter/blend_factor = 0.5
|
||||
shader_parameter/scale1 = Vector2(1, 1)
|
||||
shader_parameter/scale2 = Vector2(1, 1)
|
||||
shader_parameter/wave_strength = 0.1
|
||||
shader_parameter/wave_scale = 0.02
|
||||
shader_parameter/pixelation_level = 1
|
||||
shader_parameter/FoamSize = 0.5
|
||||
shader_parameter/WaterOpacity = 1.0
|
||||
shader_parameter/FoamGlowIntensity = 0.5
|
||||
shader_parameter/water_texture1 = ExtResource("13_teycd")
|
||||
shader_parameter/water_texture2 = ExtResource("13_teycd")
|
||||
shader_parameter/noise_texture = SubResource("NoiseTexture2D_g7yxe")
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_me2s6"]
|
||||
material = SubResource("ShaderMaterial_hd6db")
|
||||
size = Vector2(100, 100)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dvmu4"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("14_teuv4")
|
||||
shader_parameter/lock_aspect = false
|
||||
shader_parameter/aspect_ratio = 1.33333
|
||||
shader_parameter/fov = Vector2(180, 90)
|
||||
shader_parameter/tiling = Vector2i(1, 1)
|
||||
shader_parameter/offset = Vector2(0, 0)
|
||||
shader_parameter/sky_texture = ExtResource("15_rqu8f")
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_0b70n"]
|
||||
lightmap_size_hint = Vector2i(14, 21)
|
||||
material = SubResource("ShaderMaterial_dvmu4")
|
||||
flip_faces = true
|
||||
|
||||
[node name="Level" type="Node3D"]
|
||||
script = ExtResource("1_irx2k")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_06i34")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.990369, 0.119902, -0.0692253, 0, 0.499998, 0.866027, 0.138451, -0.857686, 0.495183, 0, 2.5003, 2.77581)
|
||||
shadow_enabled = true
|
||||
directional_shadow_max_distance = 54.0
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="."]
|
||||
visible = false
|
||||
mesh = SubResource("PlaneMesh_u412x")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Floor"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor/StaticBody3D"]
|
||||
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
|
||||
shape = SubResource("ConcavePolygonShape3D_flcen")
|
||||
|
||||
[node name="Box" parent="." instance=ExtResource("3_hwtpr")]
|
||||
transform = Transform3D(12, 0, 0, 0, 1, 0, 0, 0, 8, 1.31663, -0.5, -1)
|
||||
|
||||
[node name="Box2" parent="." instance=ExtResource("4_vyo4f")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.599549, 0.532831, 1.12266)
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(5, 0, 0, 0, -2.18557e-07, -5, 0, 5, -2.18557e-07, -1.06405, 4.53269, -2.97696)
|
||||
material_override = SubResource("StandardMaterial3D_mdr1l")
|
||||
material_overlay = SubResource("ShaderMaterial_lrfyr")
|
||||
mesh = SubResource("PlaneMesh_dquro")
|
||||
skeleton = NodePath("../CanvasLayer")
|
||||
script = ExtResource("5_icm43")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="MeshInstance3D/SubViewport"]
|
||||
light_mask = 0
|
||||
material = SubResource("ShaderMaterial_d4amb")
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
|
||||
[node name="NPC_Pasadena" parent="." instance=ExtResource("8_s3ti8")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.565993, 0.48192, -0.421152)
|
||||
|
||||
[node name="Wall" parent="." instance=ExtResource("9_ltwas")]
|
||||
transform = Transform3D(-7.52286e-09, 0, 1, 0, 1, 0, -0.172103, 0, -4.37114e-08, -2, 0, -2)
|
||||
|
||||
[node name="Transition" parent="." instance=ExtResource("10_pfg6d")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.42354, 0.00663748, -0.425222)
|
||||
to_ = "debug3"
|
||||
|
||||
[node name="Transition2" parent="." instance=ExtResource("10_pfg6d")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.83668, 0.013275, -0.178754)
|
||||
to_ = "debug2"
|
||||
|
||||
[node name="Wumpa" parent="." instance=ExtResource("11_1vcas")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.553757, 1)
|
||||
|
||||
[node name="NPC_EvilCoco" parent="." instance=ExtResource("12_o5554")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0.421477, 0)
|
||||
|
||||
[node name="Water" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.976, 1.156)
|
||||
mesh = SubResource("PlaneMesh_me2s6")
|
||||
|
||||
[node name="SkyBox" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(100, 0, 0, 0, 100, 0, 0, 0, 100, 0, 0, 0)
|
||||
visible = false
|
||||
gi_mode = 0
|
||||
mesh = SubResource("BoxMesh_0b70n")
|
||||
|
||||
[node name="NPC_Tawna" parent="." instance=ExtResource("16_e5ajb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326665, 0.480017, 0.00148714)
|
||||
94
assets/levels/maps/debug2.tscn
Normal file
@ -0,0 +1,94 @@
|
||||
[gd_scene load_steps=15 format=3 uid="uid://b2hrbmuimfxj8"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dgtpp1edorct6" path="res://assets/objects/kenney_prototype-textures/PNG/Dark/texture_07.png" id="1_rncg8"]
|
||||
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="2_1grt0"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/levels/transition.tscn" id="3_623kc"]
|
||||
[ext_resource type="PackedScene" uid="uid://cbfoxxoamehgg" path="res://assets/characters/npc.tscn" id="4_h746b"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://dl3chdt3weywa" path="res://assets/objects/kenney_prototype-kit/Models/OBJ format/coin.obj" id="5_4rpc7"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://ce7iurco8essh" path="res://assets/objects/kenney_prototype-kit/Models/OBJ format/wall-doorway.obj" id="6_ngji5"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://bfgynkoxk6xa6" path="res://assets/objects/kenney_prototype-kit/Models/OBJ format/wall.obj" id="7_8rf5p"]
|
||||
[ext_resource type="AudioStream" uid="uid://cjjsbi44d8lw2" path="res://assets/audio/papermario_whacka.mp3" id="8_e0lt6"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tp8ku"]
|
||||
sky_top_color = Color(0.129, 0.129, 0.129, 1)
|
||||
sky_horizon_color = Color(0.129, 0.129, 0.129, 1)
|
||||
ground_bottom_color = Color(0.129, 0.129, 0.129, 1)
|
||||
ground_horizon_color = Color(0.129, 0.129, 0.129, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_shl8g"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_tp8ku")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_d3cpo"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_shl8g")
|
||||
tonemap_mode = 2
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t7r8y"]
|
||||
albedo_texture = ExtResource("1_rncg8")
|
||||
uv1_triplanar = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_ka7wb"]
|
||||
lightmap_size_hint = Vector2i(52, 52)
|
||||
material = SubResource("StandardMaterial3D_t7r8y")
|
||||
size = Vector2(50, 50)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_w1gda"]
|
||||
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
|
||||
|
||||
[node name="Level" type="Node3D"]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_d3cpo")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.990369, 0.119902, -0.0692252, 0, 0.499998, 0.866027, 0.138451, -0.857686, 0.495183, 0, 3.47491, 2.77581)
|
||||
light_energy = 0.454
|
||||
shadow_enabled = true
|
||||
directional_shadow_max_distance = 54.0
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00175023, -5.96046e-08, 0.00229335)
|
||||
mesh = SubResource("PlaneMesh_ka7wb")
|
||||
skeleton = NodePath("../DirectionalLight3D")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Floor"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor/StaticBody3D"]
|
||||
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
|
||||
shape = SubResource("ConcavePolygonShape3D_w1gda")
|
||||
|
||||
[node name="Box" parent="." instance=ExtResource("2_1grt0")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.00805, 0.25778, -0.993837)
|
||||
|
||||
[node name="Box2" parent="." instance=ExtResource("2_1grt0")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.447608, 0.258858, -2.72201)
|
||||
|
||||
[node name="Transition" parent="." instance=ExtResource("3_623kc")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.03549, 0.0474857, -3.12272)
|
||||
|
||||
[node name="NPC" parent="." instance=ExtResource("4_h746b")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.050574, 0.48192, -0.967612)
|
||||
|
||||
[node name="Coin" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-1.74846e-08, 0, 0.4, 0, 0.4, 0, -0.4, 0, -1.74846e-08, -1.17157, 0.534413, -1.70278)
|
||||
mesh = ExtResource("5_4rpc7")
|
||||
|
||||
[node name="Wall-doorway" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, 0, 0, -2)
|
||||
mesh = ExtResource("6_ngji5")
|
||||
|
||||
[node name="Wall" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, -1.5, 0, -2)
|
||||
mesh = ExtResource("7_8rf5p")
|
||||
|
||||
[node name="Wall2" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, -3, 0, -2)
|
||||
mesh = ExtResource("7_8rf5p")
|
||||
|
||||
[node name="PapermarioWhacka" type="AudioStreamPlayer3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.14389, 2.59429, -3.17385)
|
||||
stream = ExtResource("8_e0lt6")
|
||||
attenuation_model = 3
|
||||
autoplay = true
|
||||
panning_strength = 0.25
|
||||
parameters/looping = true
|
||||
@ -1,9 +1,8 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bh6be020myw3t"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://bh6be020myw3t"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://h04a4ju855bp" path="res://assets/objects/kenney_prototype-textures/PNG/Dark/texture_02.png" id="1_trws4"]
|
||||
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="2_fn56u"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/objects/transition.tscn" id="3_36sk0"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2b0sgltiefki" path="res://assets/levels/level1.tscn" id="4_7w3pv"]
|
||||
[ext_resource type="Texture2D" uid="uid://h04a4ju855bp" path="res://assets/objects/kenney_prototype-textures/PNG/Dark/texture_02.png" id="1_577n8"]
|
||||
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="2_oswex"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/levels/transition.tscn" id="3_4u0gi"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tp8ku"]
|
||||
sky_top_color = Color(0.129, 0.129, 0.129, 1)
|
||||
@ -20,7 +19,7 @@ sky = SubResource("Sky_shl8g")
|
||||
tonemap_mode = 2
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t7r8y"]
|
||||
albedo_texture = ExtResource("1_trws4")
|
||||
albedo_texture = ExtResource("1_577n8")
|
||||
uv1_triplanar = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_ka7wb"]
|
||||
@ -53,12 +52,11 @@ skeleton = NodePath("../DirectionalLight3D")
|
||||
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
|
||||
shape = SubResource("ConcavePolygonShape3D_w1gda")
|
||||
|
||||
[node name="Box" parent="." instance=ExtResource("2_fn56u")]
|
||||
[node name="Box" parent="." instance=ExtResource("2_oswex")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.00805, 0.25778, -1.99384)
|
||||
|
||||
[node name="Box2" parent="." instance=ExtResource("2_fn56u")]
|
||||
[node name="Box2" parent="." instance=ExtResource("2_oswex")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.88343, 0.258858, -3.32785)
|
||||
|
||||
[node name="Transition" parent="." instance=ExtResource("3_36sk0")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.76062, 0.0104516, -0.702033)
|
||||
to_ = ExtResource("4_7w3pv")
|
||||
[node name="Transition" parent="." instance=ExtResource("3_4u0gi")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.76319, 0.00614509, -0.694203)
|
||||
34
assets/levels/maps/skybox.gdshader
Normal file
@ -0,0 +1,34 @@
|
||||
shader_type spatial;
|
||||
render_mode unshaded;
|
||||
|
||||
uniform sampler2D sky_texture : source_color;
|
||||
uniform bool lock_aspect = false;
|
||||
uniform float aspect_ratio = 1.3333333;
|
||||
uniform vec2 fov = vec2(180.0, 90.0);
|
||||
uniform ivec2 tiling = ivec2(1, 1);
|
||||
uniform vec2 offset = vec2(0.0, 0.0);
|
||||
|
||||
varying vec4 BG_COORDS;
|
||||
|
||||
void vertex() {
|
||||
//Camera YX rotation per Basis.get_euler source code
|
||||
float y = atan(VIEW_MATRIX[0][2], VIEW_MATRIX[2][2]);
|
||||
float x = asin(VIEW_MATRIX[1][2]);
|
||||
|
||||
//Map rotation to screen space
|
||||
BG_COORDS.xy = vec2(y * -0.5, x) / PI;
|
||||
BG_COORDS.y += 0.5;
|
||||
|
||||
BG_COORDS.w = fov.y / 180.0;
|
||||
BG_COORDS.z = !lock_aspect ? fov.x / 360.0 : VIEWPORT_SIZE.x / (VIEWPORT_SIZE.y * aspect_ratio) * BG_COORDS.w;
|
||||
|
||||
//Keep background centered vertically when FOV changes
|
||||
BG_COORDS.y *= BG_COORDS.w > 1.0 ? 0.0 : 1.0 - BG_COORDS.w;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec2 uv_offset = vec2(-offset.x, offset.y);
|
||||
vec2 uv = (SCREEN_UV + uv_offset) * BG_COORDS.zw + BG_COORDS.xy;
|
||||
uv *= vec2(tiling);
|
||||
ALBEDO = texture(sky_texture, uv).rgb;
|
||||
}
|
||||
55
assets/levels/maps/water.gdshader
Normal file
@ -0,0 +1,55 @@
|
||||
shader_type spatial;
|
||||
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
|
||||
|
||||
uniform vec3 albedo : source_color;
|
||||
uniform sampler2D water_texture1;
|
||||
uniform sampler2D water_texture2;
|
||||
uniform sampler2D noise_texture;
|
||||
uniform vec2 scroll_speed1 = vec2(0.05, 0.0);
|
||||
uniform vec2 scroll_speed2 = vec2(-0.03, 0.0);
|
||||
uniform float blend_factor = 0.5;
|
||||
uniform vec2 scale1 = vec2(1.0, 1.0);
|
||||
uniform vec2 scale2 = vec2(1.0, 1.0);
|
||||
uniform float wave_strength = 1.0;
|
||||
uniform float wave_scale = 0.02;
|
||||
uniform int pixelation_level = 64;
|
||||
uniform float FoamSize = 0.5;
|
||||
uniform sampler2D DepthTexture : hint_depth_texture;
|
||||
uniform float WaterOpacity = 1.0;
|
||||
uniform float FoamGlowIntensity = 0.5;
|
||||
|
||||
void vertex() {
|
||||
vec2 global_position = (MODEL_MATRIX * vec4(VERTEX, 1.0)).xz;
|
||||
float noise_value = texture(noise_texture, global_position * wave_scale).r;
|
||||
float wave = sin(global_position.x * 0.2 + global_position.y * 0.2 + TIME + noise_value * 10.0) * wave_strength;
|
||||
VERTEX.y += wave;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec2 scaledUV1 = UV * scale1;
|
||||
vec2 scaledUV2 = UV * scale2;
|
||||
vec2 scrolledUV1 = scaledUV1 + scroll_speed1 * TIME;
|
||||
vec2 scrolledUV2 = scaledUV2 + scroll_speed2 * TIME;
|
||||
scrolledUV1 = mod(scrolledUV1, vec2(1.0, 1.0));
|
||||
scrolledUV2 = mod(scrolledUV2, vec2(1.0, 1.0));
|
||||
scrolledUV1 = floor(scrolledUV1 * float(pixelation_level)) / float(pixelation_level);
|
||||
scrolledUV2 = floor(scrolledUV2 * float(pixelation_level)) / float(pixelation_level);
|
||||
|
||||
vec4 water_color1 = texture(water_texture1, scrolledUV1);
|
||||
vec4 water_color2 = texture(water_texture2, scrolledUV2);
|
||||
vec4 blended_water_color = mix(water_color1, water_color2, blend_factor);
|
||||
|
||||
float depthValue = texture(DepthTexture, SCREEN_UV).r;
|
||||
vec4 worldPosition = INV_PROJECTION_MATRIX * vec4(SCREEN_UV * 2.0 - 1.0, depthValue, 1.0);
|
||||
worldPosition.xyz /= worldPosition.w;
|
||||
float foamEffect = clamp(1.0 - smoothstep(worldPosition.z + FoamSize, worldPosition.z, VERTEX.z), 0.0, 1.0);
|
||||
float foamOpacity = 1.0 - foamEffect;
|
||||
float foamEffectRounded = round(foamOpacity);
|
||||
float finalOpacity = foamEffectRounded + WaterOpacity;
|
||||
|
||||
ALBEDO = blended_water_color.rgb * albedo;
|
||||
ALPHA = finalOpacity;
|
||||
EMISSION = vec3(foamEffectRounded) * FoamGlowIntensity;
|
||||
METALLIC = 0.0;
|
||||
ROUGHNESS = 1.0;
|
||||
}
|
||||
@ -1,41 +0,0 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec4 bottom_color: source_color = vec4(1.0);
|
||||
uniform vec4 top_color: source_color = vec4(vec3(0.0), 1.0);
|
||||
|
||||
uniform sampler2D tex;
|
||||
uniform int layer_count: hint_range(2, 80, 1);
|
||||
uniform float time_scale: hint_range(0.0, 1.0) = 0.2;
|
||||
uniform float base_intensity: hint_range(0.0, 1.0) = 0.5;
|
||||
uniform float size: hint_range(0.00001, 1.0) = 0.1;
|
||||
|
||||
|
||||
vec4 lerp(vec4 a, vec4 b, float w) {
|
||||
return a + w * (b - a);
|
||||
}
|
||||
|
||||
|
||||
float fmod(float x, float y) {
|
||||
return x - floor(x / y) * y;
|
||||
}
|
||||
|
||||
|
||||
float rand(float n){return fract(sin(n) * 43758.5453123);}
|
||||
|
||||
|
||||
bool cloud_layer(float x, float y, float h) {
|
||||
return y - sqrt((1.0 - pow(y - h, 2.0))) * base_intensity * texture(tex, vec2(fmod(x / size + rand(h), 1.0), fmod(y / size - TIME * time_scale, 1.0))).r < h;
|
||||
}
|
||||
|
||||
|
||||
void fragment() {
|
||||
float y = 1.0 - UV.y;
|
||||
|
||||
for (int i = 0; i < layer_count; i++) {
|
||||
float h = float(i) / float(layer_count - 1);
|
||||
if (cloud_layer(UV.x, y, h)) {
|
||||
COLOR = lerp(bottom_color, top_color, h);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
extends Node3D
|
||||
|
||||
@export var to_: Resource = null
|
||||
@export var to_: String = "debug1"
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bs6cfck1f4yp5"]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/objects/transition.gd" id="1_agecu"]
|
||||
[ext_resource type="Script" path="res://assets/levels/transition.gd" id="1_agecu"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5ei83j3px0lg" path="res://assets/objects/kenney_prototype-textures/PNG/Green/texture_10.png" id="1_crdhu"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mbtyr"]
|
||||
@ -10,6 +10,7 @@ uv2_triplanar = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_p1am3"]
|
||||
material = SubResource("StandardMaterial3D_mbtyr")
|
||||
size = Vector2(1, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_q685r"]
|
||||
|
||||
@ -22,7 +23,6 @@ mesh = SubResource("PlaneMesh_p1am3")
|
||||
[node name="Area3D" type="Area3D" parent="MeshInstance3D"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/Area3D"]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 1, 0)
|
||||
shape = SubResource("BoxShape3D_q685r")
|
||||
|
||||
[connection signal="area_entered" from="MeshInstance3D/Area3D" to="." method="_on_area_3d_area_entered"]
|
||||
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://x4qu20qmep66"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://x4qu20qmep66"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/main.gd" id="1_l1pcn"]
|
||||
[ext_resource type="Script" path="res://src/input_manager.gd" id="2_hvjva"]
|
||||
@ -7,6 +7,7 @@
|
||||
[ext_resource type="Script" path="res://src/state_manager.gd" id="5_4aaix"]
|
||||
[ext_resource type="Script" path="res://src/level_manager.gd" id="6_xklu3"]
|
||||
[ext_resource type="Script" path="res://src/camera_manager.gd" id="7_i2npv"]
|
||||
[ext_resource type="PackedScene" uid="uid://sq6kut2r2bqx" path="res://assets/ui/main_ui.tscn" id="8_ljofn"]
|
||||
|
||||
[node name="Main" type="Node"]
|
||||
script = ExtResource("1_l1pcn")
|
||||
@ -23,6 +24,8 @@ script = ExtResource("4_oir0n")
|
||||
[node name="StateManager" type="Node" parent="."]
|
||||
script = ExtResource("5_4aaix")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="StateManager"]
|
||||
|
||||
[node name="InventoryManager" type="Node" parent="."]
|
||||
|
||||
[node name="CombatManager" type="Node" parent="."]
|
||||
@ -32,3 +35,5 @@ script = ExtResource("6_xklu3")
|
||||
|
||||
[node name="CameraManager" type="Node" parent="."]
|
||||
script = ExtResource("7_i2npv")
|
||||
|
||||
[node name="MainUi" parent="." instance=ExtResource("8_ljofn")]
|
||||
|
||||
203
assets/objects/box/box.gdshader
Normal file
@ -0,0 +1,203 @@
|
||||
shader_type spatial;
|
||||
|
||||
// Use global coordinate
|
||||
uniform bool world_uv = false;
|
||||
// Use the uv of the object instead of the vertex as a coordinate
|
||||
uniform bool object_uv = false;
|
||||
uniform vec2 object_uv_scale = vec2(1.0);
|
||||
// Render
|
||||
group_uniforms render;
|
||||
// Color preset index: 0 == disabled/custom
|
||||
uniform int preset_color : hint_range(0, 8, 1) = 0;
|
||||
uniform vec3 base_color : source_color = vec3(0.0);
|
||||
uniform float metalic : hint_range(0.0, 1.0, 0.001) = 0.25;
|
||||
uniform float roughness : hint_range(0.0, 1.0, 0.001) = 0.75;
|
||||
|
||||
// Main grid
|
||||
group_uniforms grid;
|
||||
uniform float grid_scale = 1.0;
|
||||
uniform float grid_width : hint_range(0.0, 1.0, 0.001) = 0.01;
|
||||
uniform vec4 grid_color : source_color = vec4(vec3(0.8), 1.0);
|
||||
// Inside grid
|
||||
group_uniforms inside_grid;
|
||||
uniform float inside_scale : hint_range(0.0, 10.0, 1) = 1.0;
|
||||
uniform float inside_width : hint_range(0.0, 1.0, 0.001) = 0.01;
|
||||
uniform vec4 inside_color : source_color = vec4(0.8);
|
||||
// Checker grid
|
||||
group_uniforms checkered_grid;
|
||||
uniform bool checkered = true;
|
||||
uniform bool sub_checkered_grid = false;
|
||||
uniform vec3 checkered_color : source_color = vec3(0.25);
|
||||
uniform float checkered_blend_color : hint_range(0.0, 1.0, 0.001) = 0.1;
|
||||
|
||||
// NOTE - When using texture, enable LOD generation and reimport the texture
|
||||
group_uniforms albedo_texture;
|
||||
uniform bool use_inside_uv = false;
|
||||
uniform bool use_albedo_color = false;
|
||||
uniform sampler2D albedo_texture : hint_default_transparent, filter_linear_mipmap;
|
||||
uniform float albedo_alpha : hint_range(0.0, 1.0, 0.001) = 0.5;
|
||||
|
||||
// Preset colors
|
||||
const vec3 PRESET_COLORS[8] = {
|
||||
vec3(0.2, 0.2, 0.208), // Dark
|
||||
vec3(1.0, 0.0, 0.22), // Red
|
||||
vec3(1.0, 0.549, 0.0), // Orange
|
||||
vec3(1.0, 0.753, 0.0), // Yellow
|
||||
vec3(0.106, 0.851, 0.467), // Green
|
||||
vec3(0.318, 0.502, 0.78), // Blue
|
||||
vec3(0.616, 0.133, 0.98), // Purple
|
||||
vec3(0.827, 0.839, 0.851) // Light
|
||||
};
|
||||
const float EPSILON = 0.0001;
|
||||
|
||||
varying vec3 vertex_uv;
|
||||
varying vec3 vertex_normal;
|
||||
|
||||
// Fix preset colors, base RAW
|
||||
vec3 srgb_to_linear(vec3 color) {
|
||||
return mix(
|
||||
pow((color.rgb + vec3(0.055)) * (1.0 / (1.0 + 0.055)), vec3(2.4)),
|
||||
color.rgb * (1.0 / 12.92),
|
||||
lessThan(color.rgb, vec3(0.04045))
|
||||
);
|
||||
}
|
||||
|
||||
float grid_structure(vec3 uv, float width, float mult) {
|
||||
vec3 uv_deriv = fwidth(uv);
|
||||
uv_deriv = max(uv_deriv, EPSILON);
|
||||
vec3 line_AA = uv_deriv * 1.5;
|
||||
|
||||
vec3 width_value = 1.0 - vec3(width);
|
||||
|
||||
vec3 target_width = width > 0.5 ? width_value : 1.0 - width_value;
|
||||
vec3 draw_width = clamp(target_width, uv_deriv, vec3(0.5));
|
||||
|
||||
vec3 grid_uv = abs(fract(uv * mult) * 2.0 - 1.0);
|
||||
grid_uv = width > 0.5 ? 1.0 - grid_uv : grid_uv;
|
||||
// Blend normal sides
|
||||
float blend_value = 1.0;
|
||||
vec3 blend_normal = abs(normalize(cross(dFdy(uv), dFdx(uv))));
|
||||
vec3 blend_factor = smoothstep(blend_value - EPSILON, blend_value + EPSILON, blend_normal);
|
||||
blend_factor = width > 0.5 ? 1.0 - blend_factor : blend_factor;
|
||||
|
||||
vec3 grid_normal_a = width > 0.5 ? vec3(-1.0) : grid_uv;
|
||||
vec3 grid_normal_b = width > 0.5 ? grid_uv : vec3(1.0);
|
||||
|
||||
grid_uv = mix(grid_normal_a, grid_normal_b, blend_factor);
|
||||
|
||||
vec3 grid_base = smoothstep(draw_width + line_AA, draw_width - line_AA, grid_uv);
|
||||
grid_base *= clamp(target_width / draw_width, EPSILON, 1.0);
|
||||
grid_base = mix(grid_base, target_width, clamp(uv_deriv * 2.0 - 1.0, EPSILON, 1.0));
|
||||
grid_base = width > 0.5 ? 1.0 - grid_base : grid_base;
|
||||
|
||||
return mix(mix(grid_base.x, 1.0, grid_base.y), 1.0, grid_base.z);
|
||||
}
|
||||
|
||||
float checkered_grid(vec3 uv, float subdivide) {
|
||||
// Checkered grid
|
||||
vec3 board_uv = floor(uv - 0.5 - subdivide + EPSILON);
|
||||
float board = mod((board_uv.x) + (board_uv.y) + (board_uv.z), 2.0);
|
||||
// Blend normal sides
|
||||
float blend_value = 1.0;
|
||||
vec3 blend_normal = abs(normalize(cross(dFdy(uv), dFdx(uv))));
|
||||
vec3 blend_factor = smoothstep(blend_value - EPSILON, blend_value + EPSILON, blend_normal);
|
||||
// Filter AA
|
||||
vec3 smooth_uv = abs(fract(uv - subdivide) * 2.0 - 1.0);
|
||||
smooth_uv = mix(smooth_uv, vec3(1.0), blend_factor);
|
||||
|
||||
vec3 uv_deriv = fwidth(uv);
|
||||
uv_deriv = max(uv_deriv, EPSILON);
|
||||
vec3 uv_AA = uv_deriv * 4.0;
|
||||
|
||||
float smooth_value = 1.0;
|
||||
float smooth_edge = smoothstep(0.0, uv_AA.x * smooth_value, smooth_uv.x);
|
||||
smooth_edge *= smoothstep(0.0, uv_AA.y * smooth_value, smooth_uv.y);
|
||||
smooth_edge *= smoothstep(0.0, uv_AA.z * smooth_value, smooth_uv.z);
|
||||
|
||||
vec3 moire_step = smoothstep(vec3(1.0), vec3(0.0), uv_deriv);
|
||||
float moire_range = (moire_step.x * moire_step.y * moire_step.z);
|
||||
// Applay AA/Moire blend color
|
||||
board = mix(0.0, board, smooth_edge);
|
||||
board = mix(0.05, board, moire_range);
|
||||
|
||||
return board;
|
||||
}
|
||||
|
||||
vec4 triplanar_texture(sampler2D tex, vec3 uv, bool sub) {
|
||||
uv = sub ? uv : uv * 0.5 + 0.5;
|
||||
|
||||
vec4 albedo_x = texture(tex, object_uv ? uv.xy : uv.zy);
|
||||
vec4 albedo_y = texture(tex, object_uv ? uv.xy : uv.xz);
|
||||
vec4 albedo_z = texture(tex, uv.xy);
|
||||
|
||||
vec3 tri_normal = vec3(0.0);
|
||||
vec2 blend_normal = abs(normalize(vertex_normal.xz));
|
||||
tri_normal.xz = max(vec2(0.0), blend_normal - 0.67);
|
||||
tri_normal.xz /= max(0.00001, dot(tri_normal.xz, vec2(1.0)));
|
||||
|
||||
tri_normal.y = clamp((abs(vertex_normal.y) - 0.675) * 80.0, 0.0, 1.0);
|
||||
tri_normal.xz *= (1.0 - tri_normal.y);
|
||||
|
||||
vec4 albedo = (
|
||||
albedo_x * tri_normal.x +
|
||||
albedo_y * tri_normal.y +
|
||||
albedo_z * tri_normal.z
|
||||
);
|
||||
return albedo;
|
||||
}
|
||||
|
||||
void vertex() {
|
||||
vertex_normal = NORMAL;
|
||||
|
||||
vertex_uv = mix(VERTEX, (MODEL_MATRIX * vec4(VERTEX, 1.0)).xyz, float(world_uv));
|
||||
vertex_uv = mix(vertex_uv, vec3(UV * object_uv_scale, 0.0), float(object_uv));
|
||||
vertex_uv *= vec3(1.0, -1.0, 1.0);
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec3 base_uv = vertex_uv * grid_scale;
|
||||
|
||||
// Base Grid
|
||||
float base_grid = grid_structure(base_uv, grid_width, 0.5);
|
||||
// Inside Grid
|
||||
float inside_factor = mod(inside_scale, 2.0) < EPSILON ? 0.5 : 0.0;
|
||||
float inside_reduce = floor(inside_scale / 2.0) - (abs(inside_factor - 0.5) < EPSILON ? 1.0 : 0.0);
|
||||
vec3 inside_uv = base_uv * (inside_scale - inside_factor - inside_reduce);
|
||||
float inside_grid = grid_structure(inside_uv - (0.5 - inside_factor), inside_width, 1.0);
|
||||
inside_grid = inside_scale < EPSILON ? 0.0 : inside_grid;
|
||||
inside_grid = mix(inside_grid, 0.0, smoothstep(0.0 - EPSILON, 0.5 + EPSILON, base_grid));
|
||||
// Checkerboard
|
||||
vec3 checker_uv = mix(base_uv / 2.0, base_uv, float(sub_checkered_grid));
|
||||
float checkerboard = 0.0;
|
||||
checkerboard = checkered ? checkered_grid(checker_uv, sub_checkered_grid ? 0.5 : 0.0) : 0.0;
|
||||
|
||||
// Albedo texture(triplanar)
|
||||
vec4 albedo = triplanar_texture(
|
||||
albedo_texture,
|
||||
use_inside_uv ? inside_uv - 0.5 - (0.5 - inside_factor) : base_uv,
|
||||
use_inside_uv
|
||||
);
|
||||
|
||||
// Color
|
||||
vec3 color = base_color;
|
||||
color = preset_color != 0 ? srgb_to_linear(PRESET_COLORS[preset_color - 1]) : color;
|
||||
|
||||
// Grayscale
|
||||
if (use_albedo_color == false) {
|
||||
float gray = dot(albedo.rgb, vec3(0.299, 0.587, 0.114));
|
||||
albedo.rgb = vec3(gray);
|
||||
}
|
||||
|
||||
// Applay texture/base color/checkered
|
||||
vec3 board = mix(color, checkered_color, checkerboard * checkered_blend_color);
|
||||
albedo.rgb = use_albedo_color ? albedo.rgb : albedo.rgb * board;
|
||||
|
||||
// Mix Color
|
||||
vec3 grid_a = mix(board, mix(board, albedo.rgb, albedo.a), albedo_alpha);
|
||||
vec3 grid_b = mix(grid_a, inside_color.rgb, inside_grid * inside_color.a);
|
||||
vec3 grid = mix(grid_b, grid_color.rgb, base_grid * grid_color.a);
|
||||
|
||||
ALBEDO = grid;
|
||||
METALLIC = metalic;
|
||||
ROUGHNESS = roughness;
|
||||
}
|
||||
@ -1,15 +1,35 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://hylwpibwtg0c"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c4vvb6uitdpwj" path="res://assets/objects/kenney_prototype-textures/PNG/Red/texture_01.png" id="1_g7vff"]
|
||||
[ext_resource type="Shader" path="res://assets/objects/box/box.gdshader" id="2_t4ruf"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_w7cyf"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tx180"]
|
||||
albedo_texture = ExtResource("1_g7vff")
|
||||
uv1_triplanar = true
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_30djf"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_t4ruf")
|
||||
shader_parameter/world_uv = false
|
||||
shader_parameter/object_uv = false
|
||||
shader_parameter/object_uv_scale = Vector2(1, 1)
|
||||
shader_parameter/preset_color = 0
|
||||
shader_parameter/base_color = Color(0.1495, 0.52, 0.13, 1)
|
||||
shader_parameter/metalic = 0.25
|
||||
shader_parameter/roughness = 0.75
|
||||
shader_parameter/grid_scale = 1.0
|
||||
shader_parameter/grid_width = 0.01
|
||||
shader_parameter/grid_color = Color(0.8, 0.8, 0.8, 1)
|
||||
shader_parameter/inside_scale = 1.0
|
||||
shader_parameter/inside_width = 0.01
|
||||
shader_parameter/inside_color = Color(0.8, 0.8, 0.8, 0.8)
|
||||
shader_parameter/checkered = true
|
||||
shader_parameter/sub_checkered_grid = true
|
||||
shader_parameter/checkered_color = Color(0.25, 0.25, 0.25, 1)
|
||||
shader_parameter/checkered_blend_color = 0.1
|
||||
shader_parameter/use_inside_uv = false
|
||||
shader_parameter/use_albedo_color = false
|
||||
shader_parameter/albedo_alpha = 0.5
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_u56mx"]
|
||||
material = SubResource("StandardMaterial3D_tx180")
|
||||
lightmap_size_hint = Vector2i(24, 36)
|
||||
size = Vector3(2, 2, 2)
|
||||
|
||||
[node name="Box" type="Node3D"]
|
||||
@ -21,5 +41,5 @@ shape = SubResource("BoxShape3D_w7cyf")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
layers = 524288
|
||||
material_override = SubResource("ShaderMaterial_30djf")
|
||||
mesh = SubResource("BoxMesh_u56mx")
|
||||
|
||||
6
assets/objects/kenney_nature-kit/Instructions.url
Normal file
@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=https://kenney.nl/documentation/game-assets/model-kits
|
||||
IDList=
|
||||
HotKey=0
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,11
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_NE.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
34
assets/objects/kenney_nature-kit/Isometric/bed_NE.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://btgbklhfboyxp"
|
||||
path="res://.godot/imported/bed_NE.png-57bd918efd15eef359a43191787967a5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_NE.png"
|
||||
dest_files=["res://.godot/imported/bed_NE.png-57bd918efd15eef359a43191787967a5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_NW.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
34
assets/objects/kenney_nature-kit/Isometric/bed_NW.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ouurdfdo32yb"
|
||||
path="res://.godot/imported/bed_NW.png-f7616af5fef94559ed24af0360987aa0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_NW.png"
|
||||
dest_files=["res://.godot/imported/bed_NW.png-f7616af5fef94559ed24af0360987aa0.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_SE.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
34
assets/objects/kenney_nature-kit/Isometric/bed_SE.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://yso382o4tl05"
|
||||
path="res://.godot/imported/bed_SE.png-3cdd07cf5002fb2e53f567d067e13eec.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_SE.png"
|
||||
dest_files=["res://.godot/imported/bed_SE.png-3cdd07cf5002fb2e53f567d067e13eec.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_SW.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
34
assets/objects/kenney_nature-kit/Isometric/bed_SW.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://e7njccsf3p6m"
|
||||
path="res://.godot/imported/bed_SW.png-0a198080ea8623b757d3c2e161f5aec4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_SW.png"
|
||||
dest_files=["res://.godot/imported/bed_SW.png-0a198080ea8623b757d3c2e161f5aec4.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_floor_NE.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dw78kkykj48ty"
|
||||
path="res://.godot/imported/bed_floor_NE.png-4b624842704276c46ef902e71c3e545a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_floor_NE.png"
|
||||
dest_files=["res://.godot/imported/bed_floor_NE.png-4b624842704276c46ef902e71c3e545a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_floor_NW.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cu756ckldv0as"
|
||||
path="res://.godot/imported/bed_floor_NW.png-b61a8f914a227af267b99f920ee71d33.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_floor_NW.png"
|
||||
dest_files=["res://.godot/imported/bed_floor_NW.png-b61a8f914a227af267b99f920ee71d33.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_floor_SE.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://4rs0v2j21h3i"
|
||||
path.s3tc="res://.godot/imported/bed_floor_SE.png-dd5d7cf06d6166bb317b23aa3e044a67.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_floor_SE.png"
|
||||
dest_files=["res://.godot/imported/bed_floor_SE.png-dd5d7cf06d6166bb317b23aa3e044a67.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
assets/objects/kenney_nature-kit/Isometric/bed_floor_SW.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://deeje2ubdejba"
|
||||
path="res://.godot/imported/bed_floor_SW.png-b658f7ef190462101c3ecf8380727a53.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bed_floor_SW.png"
|
||||
dest_files=["res://.godot/imported/bed_floor_SW.png-b658f7ef190462101c3ecf8380727a53.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dottwt38wxlcn"
|
||||
path="res://.godot/imported/bridge_center_stoneRound_NE.png-2359ad0f9f43d025005112d6ce581f99.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stoneRound_NE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stoneRound_NE.png-2359ad0f9f43d025005112d6ce581f99.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://knqlhg8wvtvr"
|
||||
path="res://.godot/imported/bridge_center_stoneRound_NW.png-57c572d7298457d0e6f3f758bbaa78f9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stoneRound_NW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stoneRound_NW.png-57c572d7298457d0e6f3f758bbaa78f9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://p7khk5o6druf"
|
||||
path="res://.godot/imported/bridge_center_stoneRound_SE.png-54101d70d15bead31d68a67f9c59e035.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stoneRound_SE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stoneRound_SE.png-54101d70d15bead31d68a67f9c59e035.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bex0361hxvv6o"
|
||||
path="res://.godot/imported/bridge_center_stoneRound_SW.png-9dc40fc15a424d5e9aeb4fb076298349.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stoneRound_SW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stoneRound_SW.png-9dc40fc15a424d5e9aeb4fb076298349.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bmcoqnjfl84ty"
|
||||
path="res://.godot/imported/bridge_center_stone_NE.png-95bacd07666969b4520fbd815ccf0c77.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stone_NE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stone_NE.png-95bacd07666969b4520fbd815ccf0c77.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://8h2hmr732psh"
|
||||
path="res://.godot/imported/bridge_center_stone_NW.png-058bd86ae2036763aead1c8eae4896e3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stone_NW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stone_NW.png-058bd86ae2036763aead1c8eae4896e3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d3ofxtslmovba"
|
||||
path="res://.godot/imported/bridge_center_stone_SE.png-42b7d292a0de966d1b37b4427ec5d51a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stone_SE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stone_SE.png-42b7d292a0de966d1b37b4427ec5d51a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://6kkvues1yktt"
|
||||
path="res://.godot/imported/bridge_center_stone_SW.png-9b6b106b5cd5ab891d0d26bc7fea4579.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_stone_SW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_stone_SW.png-9b6b106b5cd5ab891d0d26bc7fea4579.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://5y68mwcrt53w"
|
||||
path="res://.godot/imported/bridge_center_woodRound_NE.png-7e22a7837e91ebf08e22776a90d0fa8a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_woodRound_NE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_woodRound_NE.png-7e22a7837e91ebf08e22776a90d0fa8a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c2efk0q0hr5l0"
|
||||
path="res://.godot/imported/bridge_center_woodRound_NW.png-ac092374b292cb2e9ee441b001143d04.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_woodRound_NW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_woodRound_NW.png-ac092374b292cb2e9ee441b001143d04.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dfq7un45gxt1e"
|
||||
path="res://.godot/imported/bridge_center_woodRound_SE.png-a87ce722d96e1cad60b13beefb0e4c2c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_woodRound_SE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_woodRound_SE.png-a87ce722d96e1cad60b13beefb0e4c2c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cwcmr0w0knr8s"
|
||||
path="res://.godot/imported/bridge_center_woodRound_SW.png-e38833f951e77b4499263c43eeca0a70.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_woodRound_SW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_woodRound_SW.png-e38833f951e77b4499263c43eeca0a70.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c0upp3ta28m0e"
|
||||
path="res://.godot/imported/bridge_center_wood_NE.png-45870923e3370e10311d6e2e3f985128.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_wood_NE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_wood_NE.png-45870923e3370e10311d6e2e3f985128.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d0lp3rd4uwesd"
|
||||
path="res://.godot/imported/bridge_center_wood_NW.png-a1df2d6c321c36e380a16b650e165eea.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_wood_NW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_wood_NW.png-a1df2d6c321c36e380a16b650e165eea.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bbblunefb7hhi"
|
||||
path="res://.godot/imported/bridge_center_wood_SE.png-a62faef73ddf1b46989d4465d1292ddd.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_wood_SE.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_wood_SE.png-a62faef73ddf1b46989d4465d1292ddd.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dw6vhykyf6tud"
|
||||
path="res://.godot/imported/bridge_center_wood_SW.png-400884ae5bfd3d1a35d9c1dceaa9d728.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_center_wood_SW.png"
|
||||
dest_files=["res://.godot/imported/bridge_center_wood_SW.png-400884ae5bfd3d1a35d9c1dceaa9d728.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://4ue6yf8g1x7i"
|
||||
path="res://.godot/imported/bridge_side_stoneRound_NE.png-dbe41a50f8dae2417e5d3b02f5ddaf75.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_side_stoneRound_NE.png"
|
||||
dest_files=["res://.godot/imported/bridge_side_stoneRound_NE.png-dbe41a50f8dae2417e5d3b02f5ddaf75.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 5.9 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b84mq1egeul53"
|
||||
path="res://.godot/imported/bridge_side_stoneRound_NW.png-92dae5ca2a00477406a3ef4d51da103b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_side_stoneRound_NW.png"
|
||||
dest_files=["res://.godot/imported/bridge_side_stoneRound_NW.png-92dae5ca2a00477406a3ef4d51da103b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://degp7s5snqrc2"
|
||||
path="res://.godot/imported/bridge_side_stoneRound_SE.png-af620f098dee3f5f8cdea371c48c7d63.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/objects/kenney_nature-kit/Isometric/bridge_side_stoneRound_SE.png"
|
||||
dest_files=["res://.godot/imported/bridge_side_stoneRound_SE.png-af620f098dee3f5f8cdea371c48c7d63.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||