Merge pull request #696 from aaronfranke/gd4-3d

Update several 3D demos to Godot 4
This commit is contained in:
Aaron Franke
2022-03-28 01:49:39 -05:00
committed by GitHub
119 changed files with 2645 additions and 10423 deletions

View File

@@ -10,9 +10,9 @@ config_version=4
[application]
config/name="Node3D Polygon 2D"
config/description="Example of using 2D navigation using a Node3DPolygon in a
Node3DPolygonInstance node. It uses the 2D navigation API to request
config/name="Navigation Polygon 2D"
config/description="Example of using 2D navigation using a NavigationPolygon in a
NavigationPolygonInstance node. It uses the 2D navigation API to request
a path between two points, and then traverses the resulting path."
run/main_scene="res://level.tscn"
config/icon="res://icon.png"

View File

@@ -1,38 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.s3tc.stex"
path.etc2="res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.etc2.stex"
path.etc="res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.etc.stex"
type="CompressedTexture2D"
uid="uid://bw3q8aq6gfuof"
path.s3tc="res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.s3tc.ctex"
path.etc2="res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://addons/sade/editor_gizmo_texture.png"
dest_files=["res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.s3tc.stex", "res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.etc2.stex", "res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.etc.stex"]
dest_files=["res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.s3tc.ctex", "res://.godot/imported/editor_gizmo_texture.png-be14d96c2d7829c8511766ceb15d5a7f.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -10,21 +10,68 @@ const CHAIN_MAX_ITER = 10
@export var skeleton_path: NodePath:
set(value):
# TODO: Manually copy the code from this method.
_set_skeleton_path(value)
skeleton_path = value
# Because get_node doesn't work in the first call, we just want to assign instead
if first_call:
return
if skeleton_path == null:
if debug_messages:
printerr(name, " - IK_FABRIK: No Nodepath selected for skeleton_path!")
return
var temp = get_node(skeleton_path)
if temp != null:
# If it has the method "get_bone_global_pose" it is likely a Skeleton3D
if temp.has_method("get_bone_global_pose"):
skeleton = temp
bone_IDs = {}
# (Delete all of the old bone nodes and) Make all of the bone nodes for each bone in the IK chain
_make_bone_nodes()
if debug_messages:
printerr(name, " - IK_FABRIK: Attached to a new skeleton")
# If not, then it's (likely) not a Skeleton3D node
else:
skeleton = null
if debug_messages:
printerr(name, " - IK_FABRIK: skeleton_path does not point to a skeleton!")
else:
if debug_messages:
printerr(name, " - IK_FABRIK: No Nodepath selected for skeleton_path!")
@export var bones_in_chain: PackedStringArray:
set(value):
# TODO: Manually copy the code from this method.
_set_bone_chain_bones(value)
bones_in_chain = value
_make_bone_nodes()
@export var bones_in_chain_lengths: PackedFloat32Array:
set(value):
# TODO: Manually copy the code from this method.
_set_bone_chain_lengths(value)
bones_in_chain_lengths = value
total_length = INF
@export var update_mode: int, "_process", "_physics_process", "_notification", "none" = 0:
@export_enum("_process", "_physics_process", "_notification", "none") var update_mode: int = 0:
set(value):
# TODO: Manually copy the code from this method.
_set_update_mode(value)
update_mode = value
set_process(false)
set_physics_process(false)
set_notify_transform(false)
if update_mode == 0:
set_process(true)
elif update_mode == 1:
set_process(true)
elif update_mode == 2:
set_notify_transform(true)
else:
if debug_messages:
printerr(name, " - IK_FABRIK: Unknown update mode. NOT updating skeleton")
return
var target: Node3D = null
@@ -101,7 +148,7 @@ func _ready():
_make_bone_nodes()
# Make sure we're using the right update mode
_set_update_mode(update_mode)
update_mode = update_mode
# Various upate methods
@@ -129,11 +176,11 @@ func _notification(what):
func update_skeleton():
#### ERROR CHECKING conditions
if first_call:
_set_skeleton_path(skeleton_path)
skeleton_path = skeleton_path
first_call = false
if skeleton == null:
_set_skeleton_path(skeleton_path)
skeleton_path = skeleton_path
return
@@ -385,63 +432,6 @@ func _make_editor_sphere_at_node(node, color):
indicator_mesh.material = indicator_material
indicator.mesh = indicator_mesh
############# SETGET FUNCTIONS #############
func _set_update_mode(new_value):
update_mode = new_value
set_process(false)
set_physics_process(false)
set_notify_transform(false)
if update_mode == 0:
set_process(true)
elif update_mode == 1:
set_process(true)
elif update_mode == 2:
set_notify_transform(true)
else:
if debug_messages:
printerr(name, " - IK_FABRIK: Unknown update mode. NOT updating skeleton")
return
func _set_skeleton_path(new_value):
# Because get_node doesn't work in the first call, we just want to assign instead
if first_call:
skeleton_path = new_value
return
skeleton_path = new_value
if skeleton_path == null:
if debug_messages:
printerr(name, " - IK_FABRIK: No Nodepath selected for skeleton_path!")
return
var temp = get_node(skeleton_path)
if temp != null:
# If it has the method "get_bone_global_pose" it is likely a Skeleton3D
if temp.has_method("get_bone_global_pose"):
skeleton = temp
bone_IDs = {}
# (Delete all of the old bone nodes and) Make all of the bone nodes for each bone in the IK chain
_make_bone_nodes()
if debug_messages:
printerr(name, " - IK_FABRIK: Attached to a new skeleton")
# If not, then it's (likely) not a Skeleton3D node
else:
skeleton = null
if debug_messages:
printerr(name, " - IK_FABRIK: skeleton_path does not point to a skeleton!")
else:
if debug_messages:
printerr(name, " - IK_FABRIK: No Nodepath selected for skeleton_path!")
############# OTHER (NON IK SOLVER RELATED) FUNCTIONS #############
func _make_bone_nodes():
@@ -469,14 +459,3 @@ func _make_bone_nodes():
# If we are in the editor, we want to make a sphere at this node
if Engine.editor_hint:
_make_editor_sphere_at_node(bone_nodes[bone], Color(0.65, 0, 1, 1))
func _set_bone_chain_bones(new_value):
bones_in_chain = new_value
_make_bone_nodes()
func _set_bone_chain_lengths(new_value):
bones_in_chain_lengths = new_value
total_length = INF

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/ik_fabrik.png-c99ad3d889def35eb72d4107e9571c00.stex"
type="CompressedTexture2D"
uid="uid://dfojvg0ykx146"
path="res://.godot/imported/ik_fabrik.png-c99ad3d889def35eb72d4107e9571c00.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://addons/sade/ik_fabrik.png"
dest_files=["res://.godot/imported/ik_fabrik.png-c99ad3d889def35eb72d4107e9571c00.stex"]
dest_files=["res://.godot/imported/ik_fabrik.png-c99ad3d889def35eb72d4107e9571c00.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -6,12 +6,35 @@ extends Node3D
# TODO: Manually copy the code from this method.
_set_skeleton_path(value)
@export var bone_name: String = ""
@export var update_mode: int, "_process", "_physics_process", "_notification", "none" = 0:
@export_enum("_process", "_physics_process", "_notification", "none") var update_mode: int = 0:
set(value):
# TODO: Manually copy the code from this method.
_set_update(value)
@export var look_at_axis: int, "X-up", "Y-up", "Z-up" = 1
@export var interpolation: float, 0.0, 1.0, 0.001 = 1.0
update_mode = value
# Set all of our processes to false.
set_process(false)
set_physics_process(false)
set_notify_transform(false)
# Based on the value of passed to update, enable the correct process.
if update_mode == 0:
set_process(true)
if debug_messages:
print(name, " - IK_LookAt: updating skeleton using _process...")
elif update_mode == 1:
set_physics_process(true)
if debug_messages:
print(name, " - IK_LookAt: updating skeleton using _physics_process...")
elif update_mode == 2:
set_notify_transform(true)
if debug_messages:
print(name, " - IK_LookAt: updating skeleton using _notification...")
else:
if debug_messages:
print(name, " - IK_LookAt: NOT updating skeleton due to unknown update method...")
@export_enum("X-up", "Y-up", "Z-up") var look_at_axis: int = 1
@export_range(0.0, 1.0, 0.001) var interpolation: float = 1.0
@export var use_our_rotation_x: bool = false
@export var use_our_rotation_y: bool = false
@export var use_our_rotation_z: bool = false
@@ -163,32 +186,6 @@ func _setup_for_editor():
_editor_indicator.mesh = indicator_mesh
func _set_update(new_value):
update_mode = new_value
# Set all of our processes to false.
set_process(false)
set_physics_process(false)
set_notify_transform(false)
# Based on the value of passed to update, enable the correct process.
if update_mode == 0:
set_process(true)
if debug_messages:
print(name, " - IK_LookAt: updating skeleton using _process...")
elif update_mode == 1:
set_physics_process(true)
if debug_messages:
print(name, " - IK_LookAt: updating skeleton using _physics_process...")
elif update_mode == 2:
set_notify_transform(true)
if debug_messages:
print(name, " - IK_LookAt: updating skeleton using _notification...")
else:
if debug_messages:
print(name, " - IK_LookAt: NOT updating skeleton due to unknown update method...")
func _set_skeleton_path(new_value):
# Because get_node doesn't work in the first call, we just want to assign instead.
# This is to get around a issue with NodePaths exposed to the editor.

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/ik_look_at.png-9127e12c7a59faf98e66142c84e0d5b7.stex"
type="CompressedTexture2D"
uid="uid://dhgpf3w8mh4ed"
path="res://.godot/imported/ik_look_at.png-9127e12c7a59faf98e66142c84e0d5b7.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://addons/sade/ik_look_at.png"
dest_files=["res://.godot/imported/ik_look_at.png-9127e12c7a59faf98e66142c84e0d5b7.stex"]
dest_files=["res://.godot/imported/ik_look_at.png-9127e12c7a59faf98e66142c84e0d5b7.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,6 +1,6 @@
extends Button
@export var scene_to_change_to: String, FILE = null
@export_file var scene_to_change_to: String = null
func _ready():

View File

@@ -1,51 +1,48 @@
[gd_scene load_steps=15 format=2]
[gd_scene load_steps=14 format=3 uid="uid://lm753aby2tb6"]
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture2D" id=1]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=2]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=3]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=4]
[ext_resource path="res://target_from_mousepos.gd" type="Script" id=5]
[ext_resource path="res://addons/sade/ik_look_at.gd" type="Script" id=6]
[ext_resource path="res://addons/sade/ik_look_at.png" type="Texture2D" id=7]
[ext_resource path="res://addons/sade/ik_fabrik.gd" type="Script" id=8]
[ext_resource path="res://addons/sade/ik_fabrik.png" type="Texture2D" id=9]
[ext_resource path="res://button_change_scene.gd" type="Script" id=10]
[ext_resource type="Texture2D" uid="uid://bw3q8aq6gfuof" path="res://addons/sade/editor_gizmo_texture.png" id="1"]
[ext_resource type="PackedScene" uid="uid://ctssefekxjogg" path="res://model/godot_battle_bot.dae" id="2"]
[ext_resource type="Material" path="res://model/battle_bot_color.tres" id="3"]
[ext_resource type="Script" path="res://target_from_mousepos.gd" id="5"]
[ext_resource type="Script" path="res://addons/sade/ik_look_at.gd" id="6"]
[ext_resource type="Texture2D" uid="uid://dhgpf3w8mh4ed" path="res://addons/sade/ik_look_at.png" id="7"]
[ext_resource type="Script" path="res://addons/sade/ik_fabrik.gd" id="8"]
[ext_resource type="Texture2D" uid="uid://dfojvg0ykx146" path="res://addons/sade/ik_fabrik.png" id="9"]
[ext_resource type="Script" path="res://button_change_scene.gd" id="10"]
[sub_resource type="PlaneMesh" id=1]
[sub_resource type="PlaneMesh" id="1"]
size = Vector2(40, 40)
[sub_resource type="StandardMaterial3D" id=2]
albedo_texture = ExtResource( 1 )
[sub_resource type="StandardMaterial3D" id="2"]
albedo_texture = ExtResource( "1" )
roughness = 0.2
uv1_scale = Vector3(0.25, 0.25, 0.25)
uv1_triplanar = true
[sub_resource type="BoxMesh" id=3]
size = Vector3(1, 1, 1)
[sub_resource type="BoxMesh" id="3"]
[sub_resource type="StandardMaterial3D" id=4]
[sub_resource type="StandardMaterial3D" id="4"]
albedo_color = Color(0, 0.191406, 0.765625, 1)
roughness = 0.0
[node name="FABRIK_IK" type="Node3D"]
[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 2 )
mesh = SubResource( "1" )
surface_material_override/0 = SubResource( "2" )
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.822842, -0.465099, 0.326517, -9.77531, 11.5204, 11.766)
[node name="GodotBattleBot" parent="." instance=ExtResource( 2 )]
[node name="GodotBattleBot" parent="." instance=ExtResource( "2" )]
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton3D" index="0"]
surface_material_override/0 = ExtResource( 3 )
material/1 = ExtResource( 4 )
surface_material_override/0 = ExtResource( "3" )
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.5, 11)
fov = 74.0
script = ExtResource( 5 )
script = ExtResource( "5" )
MOVEMENT_SPEED = -8.0
flip_axis = true
@@ -53,18 +50,18 @@ flip_axis = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8)
[node name="IK_LookAt_Head" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"_editor_icon": ExtResource( 7 )
"_editor_icon": ExtResource( "7" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Head"
additional_rotation = Vector3(90, 0, 0)
[node name="IK_FABRIK_Left_Arm" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 8 )
script = ExtResource( "8" )
__meta__ = {
"_editor_icon": ExtResource( 9 )
"_editor_icon": ExtResource( "9" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bones_in_chain = PackedStringArray("Left_UpperArm", "Left_LowerArm")
@@ -78,9 +75,9 @@ transform = Transform3D(0.518503, 0, -0.855076, 0, 1, 0, 0.855076, 0, 0.518503,
[node name="IK_LookAt_LH" type="Node3D" parent="Camera3D/Targets/IK_FABRIK_Left_Arm/Target"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.343393, -0.133381, 0.836605)
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"_editor_icon": ExtResource( 7 )
"_editor_icon": ExtResource( "7" )
}
skeleton_path = NodePath("../../../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Left_Hand"
@@ -93,19 +90,20 @@ additional_bone_length = 3.0
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.16849, 0, -5.31922)
[node name="Left_UpperArm" type="Node3D" parent="Camera3D/Targets/IK_FABRIK_Left_Arm"]
transform = Transform3D(-0.66477, 0.0771345, -0.743055, -2.23517e-08, 0.994655, 0.103252, 0.747048, 0.0686391, -0.661217, 1.53444, 0.300478, -3.63533)
transform = Transform3D(-0.120249, 0.882081, -0.455493, -0.0511926, 0.452703, 0.890191, 0.991424, 0.130363, -0.00928126, 1.53444, 0.30189, -3.23425)
[node name="Left_LowerArm" type="Node3D" parent="Camera3D/Targets/IK_FABRIK_Left_Arm"]
transform = Transform3D(-0.773624, -0.0228999, 0.633231, 2.98023e-08, 0.999347, 0.03614, -0.633645, 0.0279588, -0.773119, 2.94998, 0.10378, -2.37569)
[node name="IK_FABRIK_Right_Arm" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 8 )
script = ExtResource( "8" )
__meta__ = {
"_editor_icon": ExtResource( 9 )
"_editor_icon": ExtResource( "9" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bones_in_chain = PackedStringArray("Right_UpperArm", "Right_LowerArm", "Right_Hand")
bones_in_chain_lengths = PackedFloat32Array(1.97, 3, 1.2)
chain_iterations = 10
limit_chain_iterations = false
use_middle_joint_target = true
@@ -114,9 +112,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.229958, 0, 0.929313)
[node name="IK_LookAt_RH" type="Node3D" parent="Camera3D/Targets/IK_FABRIK_Right_Arm/Target"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0544824, -0.133381, 0.332403)
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"_editor_icon": ExtResource( 7 )
"_editor_icon": ExtResource( "7" )
}
skeleton_path = NodePath("../../../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Right_Hand"
@@ -126,7 +124,7 @@ additional_rotation = Vector3(0, 0, 90)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.34515, 0, -3.7843)
[node name="Right_UpperArm" type="Node3D" parent="Camera3D/Targets/IK_FABRIK_Right_Arm"]
transform = Transform3D(-0.694982, -0.0753926, 0.715064, -7.45058e-09, 0.994488, 0.104854, -0.719028, 0.0728714, -0.691151, -1.53339, 0.300478, -3.63533)
transform = Transform3D(-0.00773287, 0.890205, 0.455493, 0.0143814, -0.455361, 0.890191, 0.999866, 0.0134343, -0.00928123, -1.5334, 0.30189, -3.23425)
[node name="Right_LowerArm" type="Node3D" parent="Camera3D/Targets/IK_FABRIK_Right_Arm"]
transform = Transform3D(-0.792023, 0.0165711, -0.610266, -1.49012e-08, 0.999631, 0.0271438, 0.610491, 0.0214986, -0.791732, -2.89561, 0.100755, -2.31866)
@@ -135,8 +133,8 @@ transform = Transform3D(-0.792023, 0.0165711, -0.610266, -1.49012e-08, 0.999631,
transform = Transform3D(-0.678336, 0.00698721, -0.734719, -2.32831e-09, 0.999955, 0.00950961, 0.734752, 0.00645071, -0.678305, -1.07914, 0.020072, 0.03791)
[node name="1MeterCube" type="MeshInstance3D" parent="Camera3D/Targets"]
mesh = SubResource( 3 )
surface_material_override/0 = SubResource( 4 )
mesh = SubResource( "3" )
surface_material_override/0 = SubResource( "4" )
[node name="Control" type="Control" parent="."]
anchor_right = 1.0
@@ -164,8 +162,6 @@ offset_bottom = -29.0
text = "F.A.B.R.I.K IK
Move mouse to move IK targets
(Using 3 bones in the right hand, only 2 in the left. 3+ recommended)"
align = 1
valign = 1
[node name="LabelExtra" type="Label" parent="Control/Panel"]
anchor_right = 1.0
@@ -177,8 +173,6 @@ offset_bottom = 58.0
text = "NOTE: You will get a few errors when saving with FABRIK IK nodes in your scene
This is a known bug. Please ignore the errors for now, as they do not do anything
(They're just annoying. If you find a fix, please add it to the demo repository!)"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
@@ -191,7 +185,6 @@ offset_top = 4.0
offset_right = -135.0
offset_bottom = 18.0
text = "Left Hand"
align = 1
[node name="LabelRight" type="Label" parent="Control/Panel"]
offset_left = 136.0
@@ -199,7 +192,6 @@ offset_top = 5.0
offset_right = 249.0
offset_bottom = 19.0
text = "Right Hand"
align = 1
[node name="ButtonNext" type="Button" parent="Control"]
anchor_left = 1.0
@@ -211,7 +203,7 @@ offset_top = -60.0
offset_right = -5.0
offset_bottom = -10.0
text = "Next scene"
script = ExtResource( 10 )
script = ExtResource( "10" )
scene_to_change_to = "res://skeleton_ik.tscn"
[node name="ButtonPrev" type="Button" parent="Control"]
@@ -222,7 +214,7 @@ offset_top = -60.0
offset_right = 129.0
offset_bottom = -10.0
text = "Previous scene"
script = ExtResource( 10 )
script = ExtResource( "10" )
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -204,7 +204,8 @@ func process_movement(delta):
vel.z = hvel.z
# TODO: This information should be set to the CharacterBody properties instead of arguments.
move_and_slide(vel,Vector3(0,1,0))
velocity = vel
move_and_slide()
# Mouse based camera movement

View File

@@ -446,7 +446,7 @@ offset_left = 40.0
offset_top = 18.0
offset_right = 42.0
offset_bottom = 58.0
rect_rotation = 90.0
rotation = 90.0
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
script = ExtResource( 3 )

View File

@@ -1,38 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.s3tc.stex"
path.etc2="res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.etc2.stex"
path.etc="res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.etc.stex"
type="CompressedTexture2D"
uid="uid://dnhrt4g2dsxr2"
path.s3tc="res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.s3tc.ctex"
path.etc2="res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://fps/gun_textures.png"
dest_files=["res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.s3tc.stex", "res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.etc2.stex", "res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.etc.stex"]
dest_files=["res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.s3tc.ctex", "res://.godot/imported/gun_textures.png-ff36b37294b2a7b89d70248caaea5848.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=6 format=3 uid="uid://d36uvu4r5qtpi"]
[ext_resource path="res://fps/simple_bullet.gd" type="Script" id=1]
[ext_resource type="Script" path="res://fps/simple_bullet.gd" id="1"]
[sub_resource type="PhysicsMaterial" id=1]
[sub_resource type="PhysicsMaterial" id="1"]
bounce = 0.5
[sub_resource type="SphereMesh" id=2]
[sub_resource type="SphereMesh" id="2"]
[sub_resource type="StandardMaterial3D" id=3]
[sub_resource type="StandardMaterial3D" id="3"]
albedo_color = Color(0.769531, 0.486969, 0, 1)
emission_enabled = true
emission = Color(1, 0.445313, 0, 1)
emission_energy = 1.8
emission_operator = 0
emission_on_uv2 = false
[sub_resource type="SphereShape3D" id=4]
[sub_resource type="SphereShape3D" id="4"]
radius = 0.4
[node name="SimpleBullet" type="RigidDynamicBody3D"]
mass = 2.0
physics_material_override = SubResource( 1 )
physics_material_override = SubResource( "1" )
gravity_scale = 3.0
continuous_cd = true
can_sleep = false
linear_damp = 0.4
script = ExtResource( 1 )
script = ExtResource( "1" )
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
cast_shadow = 0
mesh = SubResource( 2 )
surface_material_override/0 = SubResource( 3 )
mesh = SubResource( "2" )
surface_material_override/0 = SubResource( "3" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource( 4 )
shape = SubResource( "4" )

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
type="CompressedTexture2D"
uid="uid://1av2o67lkxx8"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"]
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,68 +1,67 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=10 format=3 uid="uid://dyhjvb7q0b3j"]
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture2D" id=1]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=2]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=3]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=4]
[ext_resource path="res://target_from_mousepos.gd" type="Script" id=5]
[ext_resource path="res://addons/sade/ik_look_at.gd" type="Script" id=6]
[ext_resource path="res://addons/sade/ik_look_at.png" type="Texture2D" id=7]
[ext_resource path="res://button_change_scene.gd" type="Script" id=8]
[ext_resource type="Texture2D" uid="uid://bw3q8aq6gfuof" path="res://addons/sade/editor_gizmo_texture.png" id="1"]
[ext_resource type="PackedScene" uid="uid://ctssefekxjogg" path="res://model/godot_battle_bot.dae" id="2"]
[ext_resource type="Material" path="res://model/battle_bot_color.tres" id="3"]
[ext_resource type="Script" path="res://target_from_mousepos.gd" id="5"]
[ext_resource type="Script" path="res://addons/sade/ik_look_at.gd" id="6"]
[ext_resource type="Texture2D" uid="uid://dhgpf3w8mh4ed" path="res://addons/sade/ik_look_at.png" id="7"]
[ext_resource type="Script" path="res://button_change_scene.gd" id="8"]
[sub_resource type="PlaneMesh" id=1]
[sub_resource type="PlaneMesh" id="1"]
size = Vector2(40, 40)
[sub_resource type="StandardMaterial3D" id=2]
albedo_texture = ExtResource( 1 )
[sub_resource type="StandardMaterial3D" id="2"]
albedo_texture = ExtResource( "1" )
roughness = 0.2
uv1_scale = Vector3(0.25, 0.25, 0.25)
uv1_triplanar = true
texture_filter = 0
[node name="LookAtIK" type="Node3D"]
[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 2 )
mesh = SubResource( "1" )
surface_material_override/0 = SubResource( "2" )
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.822842, -0.465099, 0.326517, -9.77531, 11.5204, 11.766)
[node name="GodotBattleBot" parent="." instance=ExtResource( 2 )]
[node name="GodotBattleBot" parent="." instance=ExtResource( "2" )]
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton3D" index="0"]
surface_material_override/0 = ExtResource( 3 )
material/1 = ExtResource( 4 )
surface_material_override/0 = ExtResource( "3" )
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.501, 11)
fov = 74.0
script = ExtResource( 5 )
script = ExtResource( "5" )
MOVEMENT_SPEED = -3.0
flip_axis = true
[node name="Targets" type="Node3D" parent="Camera3D"]
[node name="IK_LookAt_Head" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"_editor_icon": ExtResource( 7 )
"_editor_icon": ExtResource( "7" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Head"
additional_rotation = Vector3(90, 0, 0)
[node name="IK_LookAt_LeftArm" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"_editor_icon": ExtResource( 7 )
"_editor_icon": ExtResource( "7" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Left_UpperArm"
[node name="IK_LookAt_RightArm" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"_editor_icon": ExtResource( 7 )
"_editor_icon": ExtResource( "7" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Right_UpperArm"
@@ -96,8 +95,6 @@ offset_right = -18.0
offset_bottom = -29.0
text = "LookAt IK
Move mouse to move IK targets"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
@@ -112,7 +109,7 @@ offset_top = -60.0
offset_right = -5.0
offset_bottom = -10.0
text = "Next scene"
script = ExtResource( 8 )
script = ExtResource( "8" )
__meta__ = {
"_edit_use_anchors_": false
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,38 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.s3tc.stex"
path.etc2="res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc2.stex"
path.etc="res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc.stex"
type="CompressedTexture2D"
uid="uid://elw71frcteyv"
path.s3tc="res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.s3tc.ctex"
path.etc2="res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://model/godot_battle_bot_colors.png"
dest_files=["res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.s3tc.stex", "res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc2.stex", "res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc.stex"]
dest_files=["res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.s3tc.ctex", "res://.godot/imported/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,38 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.s3tc.stex"
path.etc2="res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc2.stex"
path.etc="res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc.stex"
type="CompressedTexture2D"
uid="uid://dnkmib3qcg5ur"
path.s3tc="res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.s3tc.ctex"
path.etc2="res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://model/godot_battle_bot_emission.png"
dest_files=["res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.s3tc.stex", "res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc2.stex", "res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc.stex"]
dest_files=["res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.s3tc.ctex", "res://.godot/imported/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -6,7 +6,7 @@
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
config_version=5
[application]
@@ -16,16 +16,16 @@ implemented in Godot. It contains four scenes, showing
different ways they can be used, including via SkeletonIK3D."
run/main_scene="res://look_at_ik.tscn"
config/icon="res://icon.png"
config/features=PackedStringArray("4.0")
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
[editor_plugins]
enabled=PackedStringArray("res://addons/sade/plugin.cfg")
enabled=PackedStringArray()
[rendering]

View File

@@ -1,36 +1,34 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=13 format=3 uid="uid://5x7yswntc63m"]
[ext_resource path="res://skeleton_ik_runner.gd" type="Script" id=1]
[ext_resource path="res://addons/sade/ik_look_at.png" type="Texture2D" id=2]
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture2D" id=3]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=4]
[ext_resource path="res://target_from_mousepos.gd" type="Script" id=5]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=6]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=7]
[ext_resource path="res://button_change_scene.gd" type="Script" id=8]
[ext_resource path="res://addons/sade/ik_look_at.gd" type="Script" id=9]
[ext_resource type="Script" path="res://skeleton_ik_runner.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://dhgpf3w8mh4ed" path="res://addons/sade/ik_look_at.png" id="2"]
[ext_resource type="Texture2D" uid="uid://bw3q8aq6gfuof" path="res://addons/sade/editor_gizmo_texture.png" id="3"]
[ext_resource type="PackedScene" uid="uid://ctssefekxjogg" path="res://model/godot_battle_bot.dae" id="4"]
[ext_resource type="Script" path="res://target_from_mousepos.gd" id="5"]
[ext_resource type="Material" path="res://model/battle_bot_color.tres" id="6"]
[ext_resource type="Script" path="res://button_change_scene.gd" id="8"]
[ext_resource type="Script" path="res://addons/sade/ik_look_at.gd" id="9"]
[sub_resource type="PlaneMesh" id=1]
[sub_resource type="PlaneMesh" id="1"]
size = Vector2(40, 40)
[sub_resource type="StandardMaterial3D" id=2]
albedo_texture = ExtResource( 3 )
[sub_resource type="StandardMaterial3D" id="2"]
albedo_texture = ExtResource( "3" )
roughness = 0.2
uv1_scale = Vector3(0.25, 0.25, 0.25)
uv1_triplanar = true
[sub_resource type="BoxMesh" id=3]
size = Vector3(1, 1, 1)
[sub_resource type="BoxMesh" id="3"]
[sub_resource type="StandardMaterial3D" id=4]
[sub_resource type="StandardMaterial3D" id="4"]
albedo_color = Color(0, 0.191406, 0.765625, 1)
roughness = 0.0
[node name="SkeletonIK3D" type="Node3D"]
[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 2 )
mesh = SubResource( "1" )
surface_material_override/0 = SubResource( "2" )
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.822842, -0.465099, 0.326517, -9.77531, 11.5204, 11.766)
@@ -38,7 +36,7 @@ transform = Transform3D(0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.8
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.5, 11)
fov = 74.0
script = ExtResource( 5 )
script = ExtResource( "5" )
MOVEMENT_SPEED = -8.0
flip_axis = true
@@ -46,17 +44,17 @@ flip_axis = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8)
[node name="IK_LookAt_Head" type="Node3D" parent="Camera3D/Targets"]
script = ExtResource( 9 )
script = ExtResource( "9" )
__meta__ = {
"_editor_icon": ExtResource( 2 )
"_editor_icon": ExtResource( "2" )
}
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton3D")
bone_name = "Head"
additional_rotation = Vector3(90, 0, 0)
[node name="1MeterCube" type="MeshInstance3D" parent="Camera3D/Targets"]
mesh = SubResource( 3 )
surface_material_override/0 = SubResource( 4 )
mesh = SubResource( "3" )
surface_material_override/0 = SubResource( "4" )
[node name="TargetLeft" type="Position3D" parent="Camera3D/Targets"]
transform = Transform3D(-0.179447, 0.98366, -0.0145678, 0.981822, 0.178142, -0.0654973, -0.0618319, -0.0260563, -0.997746, 0.653517, -0.112305, -0.760886)
@@ -64,29 +62,28 @@ transform = Transform3D(-0.179447, 0.98366, -0.0145678, 0.981822, 0.178142, -0.0
[node name="TargetRight" type="Position3D" parent="Camera3D/Targets"]
transform = Transform3D(-0.0217688, 0.998559, -0.0490576, 0.992503, 0.0274873, 0.119085, 0.120262, -0.0460975, -0.991671, -0.683053, 0.0251284, -0.811513)
[node name="GodotBattleBot" parent="." instance=ExtResource( 4 )]
[node name="GodotBattleBot" parent="." instance=ExtResource( "4" )]
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton3D" index="0"]
surface_material_override/0 = ExtResource( 6 )
material/1 = ExtResource( 7 )
surface_material_override/0 = ExtResource( "6" )
[node name="SkeletonIK_Left" type="SkeletonIK3D" parent="GodotBattleBot/Armature/Skeleton3D" index="1"]
process_priority = 1
root_bone = "Left_UpperArm"
tip_bone = "Left_Hand"
root_bone = &"Left_UpperArm"
tip_bone = &"Left_Hand"
use_magnet = true
magnet = Vector3(8, 6, 0)
target_node = NodePath("../../../../Camera3D/Targets/TargetLeft")
script = ExtResource( 1 )
script = ExtResource( "1" )
[node name="SkeletonIK_Right" type="SkeletonIK3D" parent="GodotBattleBot/Armature/Skeleton3D" index="2"]
process_priority = 1
root_bone = "Right_UpperArm"
tip_bone = "Right_Hand"
root_bone = &"Right_UpperArm"
tip_bone = &"Right_Hand"
use_magnet = true
magnet = Vector3(-8, 6, 0)
target_node = NodePath("../../../../Camera3D/Targets/TargetRight")
script = ExtResource( 1 )
script = ExtResource( "1" )
[node name="Control" type="Control" parent="."]
anchor_right = 1.0
@@ -116,8 +113,6 @@ offset_right = -18.0
offset_bottom = -29.0
text = "SkeletonIK3D node
Move mouse to move IK targets"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
@@ -132,7 +127,7 @@ offset_top = -60.0
offset_right = -5.0
offset_bottom = -10.0
text = "Next scene"
script = ExtResource( 8 )
script = ExtResource( "8" )
__meta__ = {
"_edit_use_anchors_": false
}
@@ -146,7 +141,7 @@ offset_top = -60.0
offset_right = 129.0
offset_bottom = -10.0
text = "Previous scene"
script = ExtResource( 8 )
script = ExtResource( "8" )
__meta__ = {
"_edit_use_anchors_": false
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,23 @@
[gd_resource type="Environment" load_steps=2 format=2]
[gd_resource type="Environment" load_steps=3 format=3 uid="uid://bupmwdx23k178"]
[sub_resource type="Sky" id=1]
radiance_size = 1
sky_top_color = Color( 0.219882, 0.193725, 0.366471, 1 )
sky_horizon_color = Color( 0.342622, 0.0655002, 0.558935, 1 )
sky_curve = 0.0490365
ground_bottom_color = Color( 0.0342205, 0.0333383, 0.0322154, 1 )
ground_horizon_color = Color( 0.148289, 0.138067, 0.125119, 1 )
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fiix7"]
sky_top_color = Color(0.219608, 0.192157, 0.364706, 1)
sky_horizon_color = Color(0.341176, 0.0666667, 0.560784, 1)
ground_bottom_color = Color(0.0352941, 0.0352941, 0.0313726, 1)
ground_horizon_color = Color(0.14902, 0.137255, 0.12549, 1)
ground_curve = 0.25
sun_latitude = 55.0
sun_longitude = -80.0
texture_size = 0
[sub_resource type="Sky" id="1"]
sky_material = SubResource( "ProceduralSkyMaterial_fiix7" )
radiance_size = 1
[resource]
background_mode = 2
background_sky = SubResource( 1 )
sky = SubResource( "1" )
ambient_light_energy = 5.0
tonemap_mode = 2
tonemap_white = 6.0
ssao_blur = 1
glow_levels/7 = true
glow_levels/7 = 1.0
glow_strength = 0.79
glow_bloom = 1.0
glow_blend_mode = 0
glow_bicubic_upscale = true

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
type="CompressedTexture2D"
uid="uid://byb840khaa0ko"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"]
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,23 +1,23 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=10 format=3 uid="uid://cucm487dww55a"]
[ext_resource path="res://cubelib.tres" type="MeshLibrary" id=1]
[ext_resource path="res://player/cubio.tscn" type="PackedScene" id=2]
[ext_resource path="res://models/cube.mesh" type="ArrayMesh" id=3]
[ext_resource path="res://models/mushroom.glb" type="PackedScene" id=5]
[ext_resource type="MeshLibrary" uid="uid://cnxehnqppo36s" path="res://cubelib.tres" id="1"]
[ext_resource type="PackedScene" uid="uid://c1j6vfe3s2bq8" path="res://player/cubio.tscn" id="2"]
[ext_resource type="ArrayMesh" uid="uid://ba7dqpj07mlsy" path="res://models/cube.mesh" id="3"]
[ext_resource type="PackedScene" uid="uid://d1q53hmtxcdgn" path="res://models/mushroom.glb" id="5"]
[ext_resource type="Environment" uid="uid://bupmwdx23k178" path="res://default_env.tres" id="5_3bi5f"]
[sub_resource type="BoxShape3D" id=1]
[sub_resource type="BoxShape3D" id="1"]
margin = 0.001
extents = Vector3(0.5, 0.5, 0.5)
[sub_resource type="Animation" id=2]
[sub_resource type="Animation" id="2"]
length = 10.0
loop = true
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1, 4, 6, 9, 10),
"transitions": PackedFloat32Array(1, -2, 1, -2, 1, 1),
@@ -25,15 +25,15 @@ tracks/0/keys = {
"values": [Vector3(0.5, 4.5, -2.5), Vector3(0.5, 4.5, -2.5), Vector3(0.5, 8.5, -2.5), Vector3(0.5, 8.5, -2.5), Vector3(0.5, 4.5, -2.5), Vector3(0.5, 4.5, -2.5)]
}
[sub_resource type="Animation" id=3]
[sub_resource type="Animation" id="3"]
length = 10.0
loop = true
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2, 4.5, 6, 9),
"transitions": PackedFloat32Array(1, -2, 1, -2, 1),
@@ -41,7 +41,7 @@ tracks/0/keys = {
"values": [Vector3(-3.5, 8.5, 4.5), Vector3(-3.5, 8.5, 4.5), Vector3(3.5, 8.5, 4.5), Vector3(3.5, 8.5, 4.5), Vector3(-3.5, 8.5, 4.5)]
}
[sub_resource type="BoxShape3D" id=4]
[sub_resource type="BoxShape3D" id="4"]
[node name="World3D" type="Node3D"]
__meta__ = {
@@ -49,7 +49,7 @@ __meta__ = {
}
[node name="GridMap" type="GridMap" parent="."]
mesh_library = ExtResource( 1 )
mesh_library = ExtResource( "1" )
cell_size = Vector3(1, 1, 1)
data = {
"cells": PackedInt32Array(0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 196603, 0, 0, 196604, 0, 0, 524292, 0, 0, 589820, 0, 0, 786432, 0, 0, 851967, 0, 0, 0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 1, 0, 65530, 1, 0, 65531, 1, 0, 65532, 1, 0, 65533, 1, 0, 65534, 1, 0, 65535, 1, 0, 131075, 1, 0, 196603, 1, 0, 196604, 1, 0, 524292, 1, 0, 589820, 1, 0, 786432, 1, 0, 851967, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 2, 0, 4, 2, 0, 65530, 2, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 131075, 2, 0, 196603, 2, 0, 196604, 2, 0, 524292, 2, 0, 589820, 2, 0, 786432, 2, 0, 786433, 2, 0, 851966, 2, 0, 851967, 2, 0, 0, 3, 0, 1, 3, 0, 2, 3, 0, 3, 3, 0, 4, 3, 0, 65530, 3, 0, 65531, 3, 0, 65532, 3, 0, 65533, 3, 0, 65534, 3, 0, 65535, 3, 0, 196603, 3, 0, 524291, 3, 0, 524292, 3, 0, 589820, 3, 0, 786432, 3, 0, 786433, 3, 0, 851966, 3, 0, 851967, 3, 0, 0, 4, 0, 1, 4, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 65530, 4, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 4, 0, 196603, 4, 0, 786432, 4, 0, 851967, 4, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 4, 5, 0, 65530, 5, 0, 65531, 5, 0, 65532, 5, 0, 65533, 5, 0, 65534, 5, 0, 65535, 5, 0, 131075, 5, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 0, 65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 131075, 6, 0, 196603, 6, 0, 0, 7, 0, 1, 7, 0, 2, 7, 0, 3, 7, 0, 4, 7, 0, 65530, 7, 0, 65531, 7, 0, 65532, 7, 0, 65533, 7, 0, 65534, 7, 0, 65535, 7, 0, 131075, 7, 0, 196603, 7, 0, 0, 8, 0, 1, 8, 0, 2, 8, 0, 3, 8, 0, 4, 8, 0, 65530, 8, 0, 65531, 8, 0, 65532, 8, 0, 65533, 8, 0, 65534, 8, 0, 65535, 8, 0, 131075, 8, 0, 196603, 8, 0, 196604, 8, 0, 0, 9, 0, 1, 9, 0, 2, 9, 0, 3, 9, 0, 4, 9, 0, 65530, 9, 0, 65531, 9, 0, 65532, 9, 0, 65533, 9, 0, 65534, 9, 0, 65535, 9, 0, 131073, 9, 0, 131074, 9, 0, 131075, 9, 0, 196603, 9, 0, 196604, 9, 0, 196605, 9, 0, 196608, 9, 0, 262142, 9, 0, 0, 10, 0, 1, 10, 0, 2, 10, 0, 3, 10, 0, 4, 10, 0, 65530, 10, 0, 65531, 10, 0, 65532, 10, 0, 65533, 10, 0, 65534, 10, 0, 65535, 10, 0, 0, 11, 0, 1, 11, 0, 2, 11, 0, 3, 11, 0, 4, 11, 0, 65530, 11, 0, 65531, 11, 0, 65532, 11, 0, 65533, 11, 0, 65534, 11, 0, 65535, 11, 0, 0, 65532, 0, 1, 65532, 0, 2, 65532, 0, 3, 65532, 0, 4, 65532, 0, 65530, 65532, 0, 65531, 65532, 0, 65532, 65532, 0, 65533, 65532, 0, 65534, 65532, 0, 65535, 65532, 0, 0, 65533, 0, 1, 65533, 0, 2, 65533, 0, 3, 65533, 0, 4, 65533, 0, 65530, 65533, 0, 65531, 65533, 0, 65532, 65533, 0, 65533, 65533, 0, 65534, 65533, 0, 65535, 65533, 0, 262145, 65533, 0, 262146, 65533, 0, 262147, 65533, 0, 589822, 65533, 0, 589823, 65533, 0, 655363, 65533, 0, 655364, 65533, 0, 720897, 65533, 0, 720898, 65533, 0, 786432, 65533, 0, 851967, 65533, 0, 0, 65534, 0, 1, 65534, 0, 2, 65534, 0, 3, 65534, 0, 4, 65534, 0, 65530, 65534, 0, 65531, 65534, 0, 65532, 65534, 0, 65533, 65534, 0, 65534, 65534, 0, 65535, 65534, 0, 65536, 65534, 0, 131071, 65534, 0, 196603, 65534, 0, 196604, 65534, 0, 196605, 65534, 0, 196606, 65534, 0, 196607, 65534, 0, 589822, 65534, 0, 589828, 65534, 0, 786432, 65534, 0, 851967, 65534, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 65530, 65535, 0, 65531, 65535, 0, 65532, 65535, 0, 65533, 65535, 0, 65534, 65535, 0, 65535, 65535, 0, 196603, 65535, 0, 196604, 65535, 0, 196611, 65535, 0, 589820, 65535, 0, 589821, 65535, 0, 589822, 65535, 0, 589828, 65535, 0, 786432, 65535, 0, 851967, 65535, 0)
@@ -63,14 +63,15 @@ __meta__ = {
transform = Transform3D(-0.173649, 0.806707, -0.564863, 0, 0.573576, 0.819152, 0.984808, 0.142244, -0.0996007, 0, 0, 0)
light_energy = 1.3
shadow_enabled = true
shadow_bias = -0.02
shadow_reverse_cull_face = true
directional_shadow_mode = 0
directional_shadow_normal_bias = 0.0
directional_shadow_bias_split_scale = 0.0
directional_shadow_max_distance = 20.0
directional_shadow_split_1 = 0.05
directional_shadow_split_2 = 0.1
directional_shadow_split_3 = 0.2
directional_shadow_blend_splits = true
directional_shadow_fade_start = 0.25
directional_shadow_max_distance = 50.0
[node name="Cubio" parent="." instance=ExtResource( 2 )]
[node name="Cubio" parent="." instance=ExtResource( "2" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 2, 4)
[node name="Elevator1" type="CharacterBody3D" parent="."]
@@ -78,40 +79,41 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 4.5, -2.5)
input_capture_on_drag = true
[node name="Mesh" type="MeshInstance3D" parent="Elevator1"]
mesh = ExtResource( 3 )
surface_material_override/0 = null
mesh = ExtResource( "3" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="Elevator1"]
shape = SubResource( 1 )
shape = SubResource( "1" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Elevator1"]
autoplay = "updown1"
playback_process_mode = 0
anims/updown1 = SubResource( 2 )
anims/updown1 = SubResource( "2" )
[node name="Elevator2" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 8.5, 4.5)
[node name="Mesh" type="MeshInstance3D" parent="Elevator2"]
mesh = ExtResource( 3 )
surface_material_override/0 = null
mesh = ExtResource( "3" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="Elevator2"]
shape = SubResource( 1 )
shape = SubResource( "1" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Elevator2"]
autoplay = "side"
playback_process_mode = 0
anims/side = SubResource( 3 )
anims/updown1 = SubResource( 2 )
anims/side = SubResource( "3" )
anims/updown1 = SubResource( "2" )
[node name="Princess" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13.25, 3)
[node name="Mushroom" parent="Princess" instance=ExtResource( 5 )]
[node name="Mushroom" parent="Princess" instance=ExtResource( "5" )]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Princess"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource( 4 )
shape = SubResource( "4" )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( "5_3bi5f" )
[connection signal="body_entered" from="Princess" to="Cubio" method="_on_tcube_body_entered"]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,38 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.stex"
path.etc2="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.stex"
path.etc="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc.stex"
type="CompressedTexture2D"
uid="uid://b1qfd7mgvhrgu"
path.s3tc="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.ctex"
path.etc2="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://models/white_wood.png"
dest_files=["res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.stex", "res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.stex", "res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc.stex"]
dest_files=["res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.ctex", "res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -8,7 +8,6 @@ const DECELERATION = 4
@onready var camera = $Target/Camera3D
@onready var gravity = -ProjectSettings.get_setting("physics/3d/default_gravity")
@onready var start_position = position
var velocity: Vector3
func _physics_process(delta):
if Input.is_action_just_pressed(&"exit"):
@@ -23,8 +22,8 @@ func _physics_process(delta):
# Get the camera's transform basis, but remove the X rotation such
# that the Y axis is up and Z is horizontal.
var cam_basis = camera.global_transform.basis
var basis = cam_basis.rotated(cam_basis.x, -cam_basis.get_euler().x)
dir = basis * (dir)
cam_basis = cam_basis.rotated(cam_basis.x, -cam_basis.get_euler().x)
dir = cam_basis * dir
# Limit the input to a length of 1. length_squared is faster to check.
if dir.length_squared() > 1:

View File

@@ -1,25 +1,25 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=6 format=3 uid="uid://c1j6vfe3s2bq8"]
[ext_resource path="res://player/cubio.gd" type="Script" id=1]
[ext_resource path="res://models/cube.mesh" type="ArrayMesh" id=2]
[ext_resource path="res://player/follow_camera.gd" type="Script" id=3]
[ext_resource path="res://models/white_cube_material.tres" type="Material" id=4]
[ext_resource type="Script" path="res://player/cubio.gd" id="1"]
[ext_resource type="ArrayMesh" uid="uid://ba7dqpj07mlsy" path="res://models/cube.mesh" id="2"]
[ext_resource type="Script" path="res://player/follow_camera.gd" id="3"]
[ext_resource type="Material" path="res://models/white_cube_material.tres" id="4"]
[sub_resource type="BoxShape3D" id=1]
[sub_resource type="BoxShape3D" id="1"]
margin = 0.001
extents = Vector3(0.45, 0.45, 0.45)
size = Vector3(0.9, 0.9, 0.9)
[node name="Cubio" type="CharacterBody3D"]
script = ExtResource( 1 )
script = ExtResource( "1" )
[node name="BoxMesh" type="MeshInstance3D" parent="."]
_import_path = NodePath("cube-col")
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
mesh = ExtResource( 2 )
surface_material_override/0 = ExtResource( 4 )
mesh = ExtResource( "2" )
surface_material_override/0 = ExtResource( "4" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource( 1 )
shape = SubResource( "1" )
[node name="Target" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
@@ -29,7 +29,7 @@ transform = Transform3D(0.34202, -0.321394, 0.883022, 0, 0.939693, 0.34202, -0.9
fov = 74.0
near = 0.1
far = 50.0
script = ExtResource( 3 )
script = ExtResource( "3" )
[node name="WinText" type="CenterContainer" parent="."]
visible = false
@@ -44,8 +44,13 @@ offset_bottom = 50.0
[node name="TextLabel" type="Label" parent="WinText/Holder"]
offset_left = -354.0
offset_bottom = 14.0
rect_scale = Vector2(2, 2)
offset_right = 354.0
offset_bottom = 50.0
theme_override_font_sizes/font_size = 20
text = "Thank You, Cubio! But the Princess is in Another Demo!"
align = 1
valign = 1
horizontal_alignment = 1
vertical_alignment = 1
__meta__ = {
"_edit_layout_mode": 0,
"_edit_use_custom_anchors": false
}

View File

@@ -6,7 +6,7 @@
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
config_version=5
[application]
@@ -15,6 +15,7 @@ config/description="Kinematic character demo for 3D using a cube for the charact
This is similar to the 3D platformer demo."
run/main_scene="res://level.tscn"
config/icon="res://icon.png"
config/features=PackedStringArray("4.0")
[gdnative]

View File

@@ -1,35 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/experiment.hdr-6856dc9c7216ce389b450cda78cd0dd4.stex"
type="CompressedTexture2D"
uid="uid://5vtwlgoj3j4v"
path.s3tc="res://.godot/imported/experiment.hdr-6856dc9c7216ce389b450cda78cd0dd4.s3tc.ctex"
path.etc2="res://.godot/imported/experiment.hdr-6856dc9c7216ce389b450cda78cd0dd4.etc2.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://backgrounds/experiment.hdr"
dest_files=["res://.godot/imported/experiment.hdr-6856dc9c7216ce389b450cda78cd0dd4.stex"]
dest_files=["res://.godot/imported/experiment.hdr-6856dc9c7216ce389b450cda78cd0dd4.s3tc.ctex", "res://.godot/imported/experiment.hdr-6856dc9c7216ce389b450cda78cd0dd4.etc2.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,35 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/lobby.hdr-4d3bebcac51f4f3bb35b80c08a53f6b5.stex"
type="CompressedTexture2D"
uid="uid://dp6fru2qyhpnv"
path.s3tc="res://.godot/imported/lobby.hdr-4d3bebcac51f4f3bb35b80c08a53f6b5.s3tc.ctex"
path.etc2="res://.godot/imported/lobby.hdr-4d3bebcac51f4f3bb35b80c08a53f6b5.etc2.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://backgrounds/lobby.hdr"
dest_files=["res://.godot/imported/lobby.hdr-4d3bebcac51f4f3bb35b80c08a53f6b5.stex"]
dest_files=["res://.godot/imported/lobby.hdr-4d3bebcac51f4f3bb35b80c08a53f6b5.s3tc.ctex", "res://.godot/imported/lobby.hdr-4d3bebcac51f4f3bb35b80c08a53f6b5.etc2.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,35 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/night.hdr-da28dc6f2f43b1d95c11d8df7ccace96.stex"
type="CompressedTexture2D"
uid="uid://j3nvneplcglg"
path.s3tc="res://.godot/imported/night.hdr-da28dc6f2f43b1d95c11d8df7ccace96.s3tc.ctex"
path.etc2="res://.godot/imported/night.hdr-da28dc6f2f43b1d95c11d8df7ccace96.etc2.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://backgrounds/night.hdr"
dest_files=["res://.godot/imported/night.hdr-da28dc6f2f43b1d95c11d8df7ccace96.stex"]
dest_files=["res://.godot/imported/night.hdr-da28dc6f2f43b1d95c11d8df7ccace96.s3tc.ctex", "res://.godot/imported/night.hdr-da28dc6f2f43b1d95c11d8df7ccace96.etc2.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,35 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/park.hdr-fcd9651d2de266bdfd1d7ec8a320f831.stex"
type="CompressedTexture2D"
uid="uid://cddwkc5abl0ea"
path.s3tc="res://.godot/imported/park.hdr-fcd9651d2de266bdfd1d7ec8a320f831.s3tc.ctex"
path.etc2="res://.godot/imported/park.hdr-fcd9651d2de266bdfd1d7ec8a320f831.etc2.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://backgrounds/park.hdr"
dest_files=["res://.godot/imported/park.hdr-fcd9651d2de266bdfd1d7ec8a320f831.stex"]
dest_files=["res://.godot/imported/park.hdr-fcd9651d2de266bdfd1d7ec8a320f831.s3tc.ctex", "res://.godot/imported/park.hdr-fcd9651d2de266bdfd1d7ec8a320f831.etc2.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,35 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/schelde.hdr-6a13661ddf6710bbc9fa448634fb1bdb.stex"
type="CompressedTexture2D"
uid="uid://qxqvflsnn1ur"
path.s3tc="res://.godot/imported/schelde.hdr-6a13661ddf6710bbc9fa448634fb1bdb.s3tc.ctex"
path.etc2="res://.godot/imported/schelde.hdr-6a13661ddf6710bbc9fa448634fb1bdb.etc2.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://backgrounds/schelde.hdr"
dest_files=["res://.godot/imported/schelde.hdr-6a13661ddf6710bbc9fa448634fb1bdb.stex"]
dest_files=["res://.godot/imported/schelde.hdr-6a13661ddf6710bbc9fa448634fb1bdb.s3tc.ctex", "res://.godot/imported/schelde.hdr-6a13661ddf6710bbc9fa448634fb1bdb.etc2.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
type="CompressedTexture2D"
uid="uid://doyw0t1ntc6ll"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"]
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,368 +1,302 @@
[gd_scene load_steps=50 format=2]
[gd_scene load_steps=50 format=3 uid="uid://cr0xfyxw5byn"]
[ext_resource path="res://tester.gd" type="Script" id=1]
[ext_resource path="res://default_env.tres" type="Environment" id=2]
[ext_resource path="res://models/test_bed/test_bed.tscn" type="PackedScene" id=3]
[ext_resource path="res://models/godot_ball.mesh" type="ArrayMesh" id=4]
[ext_resource path="res://test_materials/texture_wood.png" type="Texture2D" id=5]
[ext_resource path="res://test_materials/texture_cheese_albedo.png" type="Texture2D" id=6]
[ext_resource path="res://test_materials/texture_cheese_ao.png" type="Texture2D" id=7]
[ext_resource path="res://test_materials/texture_cheese_depth.png" type="Texture2D" id=8]
[ext_resource path="res://test_materials/texture_cheese_normal.png" type="Texture2D" id=9]
[ext_resource path="res://test_materials/texture_rock_albedo.png" type="Texture2D" id=10]
[ext_resource path="res://test_materials/texture_rock_ao.png" type="Texture2D" id=11]
[ext_resource path="res://test_materials/texture_rock_depth.png" type="Texture2D" id=12]
[ext_resource path="res://test_materials/texture_rock_metal.png" type="Texture2D" id=13]
[ext_resource path="res://test_materials/texture_rock_normal.png" type="Texture2D" id=14]
[ext_resource path="res://test_materials/texture_bricks.jpg" type="Texture2D" id=15]
[ext_resource path="res://test_materials/texture_bricks_depth.jpg" type="Texture2D" id=16]
[ext_resource path="res://test_materials/texture_bricks_metal.jpg" type="Texture2D" id=17]
[ext_resource path="res://test_materials/texture_bricks_normal.jpg" type="Texture2D" id=18]
[ext_resource path="res://test_materials/wool_albedo.png" type="Texture2D" id=19]
[ext_resource path="res://test_materials/wool_depth.png" type="Texture2D" id=20]
[ext_resource path="res://test_materials/wool_normal.png" type="Texture2D" id=21]
[ext_resource path="res://test_materials/aluminium_albedo.png" type="Texture2D" id=22]
[ext_resource path="res://test_materials/aluminium_normal.png" type="Texture2D" id=23]
[ext_resource path="res://test_materials/marble_albedo.png" type="Texture2D" id=24]
[ext_resource path="res://test_materials/sand_albedo.jpg" type="Texture2D" id=25]
[ext_resource path="res://test_materials/sand_metal.jpg" type="Texture2D" id=26]
[ext_resource path="res://test_materials/sand_normal.jpg" type="Texture2D" id=27]
[ext_resource path="res://test_materials/sand_rough.jpg" type="Texture2D" id=28]
[ext_resource path="res://test_materials/rock_albedo.jpg" type="Texture2D" id=29]
[ext_resource path="res://test_materials/rock_ao.jpg" type="Texture2D" id=30]
[ext_resource path="res://test_materials/rock_metal.jpg" type="Texture2D" id=31]
[ext_resource path="res://test_materials/rock_rough.jpg" type="Texture2D" id=32]
[ext_resource type="Script" path="res://tester.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://qxqvflsnn1ur" path="res://backgrounds/schelde.hdr" id="2_hjmay"]
[ext_resource type="PackedScene" uid="uid://cgqfdwd4g5e14" path="res://models/test_bed/test_bed.tscn" id="3"]
[ext_resource type="ArrayMesh" uid="uid://dxsfckuirf72p" path="res://models/godot_ball.mesh" id="4"]
[ext_resource type="Texture2D" uid="uid://b3efpr0uwln6w" path="res://test_materials/texture_wood.png" id="5"]
[ext_resource type="Texture2D" uid="uid://xu18ocodkbx7" path="res://test_materials/texture_cheese_albedo.png" id="6"]
[ext_resource type="Texture2D" uid="uid://65icecsss5vf" path="res://test_materials/texture_cheese_ao.png" id="7"]
[ext_resource type="Texture2D" uid="uid://8o7dvpd64s0i" path="res://test_materials/texture_cheese_depth.png" id="8"]
[ext_resource type="Texture2D" uid="uid://7dpm3ud1syn" path="res://test_materials/texture_cheese_normal.png" id="9"]
[ext_resource type="Texture2D" uid="uid://dll713t0m0b6k" path="res://test_materials/texture_rock_albedo.png" id="10"]
[ext_resource type="Texture2D" uid="uid://cg1wtsuae0lmc" path="res://test_materials/texture_rock_ao.png" id="11"]
[ext_resource type="Texture2D" uid="uid://x5qdkxkf4tmq" path="res://test_materials/texture_rock_depth.png" id="12"]
[ext_resource type="Texture2D" uid="uid://bte0rsu3bcmxa" path="res://test_materials/texture_rock_metal.png" id="13"]
[ext_resource type="Texture2D" uid="uid://dqhvdd867nvjm" path="res://test_materials/texture_rock_normal.png" id="14"]
[ext_resource type="Texture2D" uid="uid://w5wmopu8t6ya" path="res://test_materials/texture_bricks.jpg" id="15"]
[ext_resource type="Texture2D" uid="uid://lbhnr6ww3frm" path="res://test_materials/texture_bricks_depth.jpg" id="16"]
[ext_resource type="Texture2D" uid="uid://c2d4tyfl662ra" path="res://test_materials/texture_bricks_metal.jpg" id="17"]
[ext_resource type="Texture2D" uid="uid://baces1lcbjoxv" path="res://test_materials/texture_bricks_normal.jpg" id="18"]
[ext_resource type="Texture2D" uid="uid://do34kmmykk6gf" path="res://test_materials/wool_albedo.png" id="19"]
[ext_resource type="Texture2D" uid="uid://b45auu1apiq0g" path="res://test_materials/wool_depth.png" id="20"]
[ext_resource type="Texture2D" uid="uid://cc44l0alh6gr4" path="res://test_materials/wool_normal.png" id="21"]
[ext_resource type="Texture2D" uid="uid://b8o8fe1yoym4t" path="res://test_materials/aluminium_albedo.png" id="22"]
[ext_resource type="Texture2D" uid="uid://0546okw1k04b" path="res://test_materials/aluminium_normal.png" id="23"]
[ext_resource type="Texture2D" uid="uid://c31bsq44dxyh1" path="res://test_materials/marble_albedo.png" id="24"]
[ext_resource type="Texture2D" uid="uid://babs1mrgolbcj" path="res://test_materials/sand_albedo.jpg" id="25"]
[ext_resource type="Texture2D" uid="uid://cisvmvcj8c525" path="res://test_materials/sand_metal.jpg" id="26"]
[ext_resource type="Texture2D" uid="uid://xvn1ih5tbj6g" path="res://test_materials/sand_normal.jpg" id="27"]
[ext_resource type="Texture2D" uid="uid://bld3mlnaxf768" path="res://test_materials/sand_rough.jpg" id="28"]
[ext_resource type="Texture2D" uid="uid://7d4kolmsjw8b" path="res://test_materials/rock_albedo.jpg" id="29"]
[ext_resource type="Texture2D" uid="uid://3m1hjc851lp4" path="res://test_materials/rock_ao.jpg" id="30"]
[ext_resource type="Texture2D" uid="uid://h1biny5hb4xc" path="res://test_materials/rock_metal.jpg" id="31"]
[ext_resource type="Texture2D" uid="uid://1vmbgyaaju3v" path="res://test_materials/rock_rough.jpg" id="32"]
[sub_resource type="StandardMaterial3D" id=1]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_7uer8"]
panorama = ExtResource( "2_hjmay" )
[sub_resource type="Sky" id="Sky_ruw1w"]
sky_material = SubResource( "PanoramaSkyMaterial_7uer8" )
[sub_resource type="Environment" id="Environment_q1py5"]
background_mode = 2
sky = SubResource( "Sky_ruw1w" )
tonemap_mode = 2
glow_enabled = true
[sub_resource type="StandardMaterial3D" id="1"]
metallic = 0.4
roughness = 0.35
[sub_resource type="StandardMaterial3D" id=2]
albedo_color = Color(0.895294, 0.900549, 0.890078, 1)
metallic = 0.1
roughness = 0.52
[sub_resource type="StandardMaterial3D" id=3]
albedo_color = Color(0.551806, 0.709299, 0.980989, 1)
metallic = 0.31
roughness = 0.42
[sub_resource type="StandardMaterial3D" id=4]
albedo_color = Color(0.471216, 0.481647, 0.465961, 1)
metallic = 0.1
roughness = 0.0
[sub_resource type="StandardMaterial3D" id=5]
[sub_resource type="StandardMaterial3D" id="5"]
metallic = 1.0
roughness = 0.02
[sub_resource type="StandardMaterial3D" id=6]
[sub_resource type="StandardMaterial3D" id="6"]
albedo_color = Color(0.806275, 0.575882, 0.361255, 1)
albedo_texture = ExtResource( 5 )
albedo_texture = ExtResource( "5" )
metallic = 0.48
roughness = 0.28
[sub_resource type="StandardMaterial3D" id=7]
albedo_texture = ExtResource( 6 )
[sub_resource type="StandardMaterial3D" id="7"]
albedo_texture = ExtResource( "6" )
roughness = 0.64
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 9 )
normal_texture = ExtResource( "9" )
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 7 )
ao_on_uv2 = false
ao_texture_channel = 0
depth_enabled = true
depth_scale = 0.13
depth_deep_parallax = true
depth_min_layers = 8
depth_max_layers = 32
depth_flip_tangent = false
depth_flip_binormal = false
depth_texture = ExtResource( 8 )
ao_texture = ExtResource( "7" )
heightmap_enabled = true
heightmap_scale = 0.13
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource( "8" )
heightmap_flip_texture = true
subsurf_scatter_enabled = true
subsurf_scatter_strength = 0.37
[sub_resource type="StandardMaterial3D" id=8]
albedo_texture = ExtResource( 10 )
[sub_resource type="StandardMaterial3D" id="8"]
albedo_texture = ExtResource( "10" )
metallic = 0.86
metallic_texture = ExtResource( 13 )
metallic_texture = ExtResource( "13" )
roughness = 0.47
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 14 )
normal_texture = ExtResource( "14" )
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 11 )
ao_on_uv2 = false
ao_texture_channel = 0
depth_enabled = true
depth_scale = 0.18
depth_deep_parallax = true
depth_min_layers = 8
depth_max_layers = 32
depth_flip_tangent = false
depth_flip_binormal = false
depth_texture = ExtResource( 12 )
ao_texture = ExtResource( "11" )
heightmap_enabled = true
heightmap_scale = 0.18
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource( "12" )
heightmap_flip_texture = true
[sub_resource type="StandardMaterial3D" id=9]
albedo_texture = ExtResource( 15 )
[sub_resource type="StandardMaterial3D" id="9"]
albedo_texture = ExtResource( "15" )
metallic = 1.0
metallic_texture = ExtResource( 17 )
metallic_texture = ExtResource( "17" )
roughness = 0.56
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 18 )
depth_enabled = true
depth_scale = 0.03
depth_deep_parallax = true
depth_min_layers = 8
depth_max_layers = 32
depth_flip_tangent = false
depth_flip_binormal = false
depth_texture = ExtResource( 16 )
normal_texture = ExtResource( "18" )
heightmap_enabled = true
heightmap_scale = 0.03
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource( "16" )
heightmap_flip_texture = true
[sub_resource type="StandardMaterial3D" id=10]
albedo_texture = ExtResource( 19 )
[sub_resource type="StandardMaterial3D" id="10"]
albedo_texture = ExtResource( "19" )
metallic = 0.1
roughness = 0.77
normal_enabled = true
normal_scale = 0.3
normal_texture = ExtResource( 21 )
depth_enabled = true
depth_scale = 0.01
depth_deep_parallax = true
depth_min_layers = 8
depth_max_layers = 32
depth_flip_tangent = false
depth_flip_binormal = false
depth_texture = ExtResource( 20 )
normal_texture = ExtResource( "21" )
heightmap_enabled = true
heightmap_scale = 0.01
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource( "20" )
heightmap_flip_texture = true
[sub_resource type="StandardMaterial3D" id=11]
albedo_texture = ExtResource( 22 )
[sub_resource type="StandardMaterial3D" id="11"]
albedo_texture = ExtResource( "22" )
metallic = 0.59
roughness = 0.4
normal_enabled = true
normal_scale = 0.21
normal_texture = ExtResource( 23 )
normal_texture = ExtResource( "23" )
anisotropy_enabled = true
anisotropy = -0.99
[sub_resource type="StandardMaterial3D" id=12]
params_diffuse_mode = 2
albedo_texture = ExtResource( 24 )
[sub_resource type="StandardMaterial3D" id="12"]
diffuse_mode = 2
albedo_texture = ExtResource( "24" )
metallic = 0.1
roughness = 0.1
rim_enabled = true
rim = 1.0
rim_tint = 1.0
subsurf_scatter_enabled = true
subsurf_scatter_strength = 0.1
[sub_resource type="StandardMaterial3D" id=13]
albedo_texture = ExtResource( 25 )
[sub_resource type="StandardMaterial3D" id="13"]
albedo_texture = ExtResource( "25" )
metallic = 1.0
metallic_texture = ExtResource( 26 )
roughness_texture = ExtResource( 28 )
metallic_texture = ExtResource( "26" )
roughness_texture = ExtResource( "28" )
normal_enabled = true
normal_scale = 0.43
normal_texture = ExtResource( 27 )
normal_texture = ExtResource( "27" )
[sub_resource type="StandardMaterial3D" id=14]
albedo_texture = ExtResource( 29 )
[sub_resource type="StandardMaterial3D" id="14"]
albedo_texture = ExtResource( "29" )
metallic = 0.12
roughness_texture = ExtResource( 32 )
roughness_texture = ExtResource( "32" )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 31 )
normal_texture = ExtResource( "31" )
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 30 )
ao_on_uv2 = false
ao_texture_channel = 0
ao_texture = ExtResource( "30" )
[sub_resource type="StandardMaterial3D" id=15]
params_depth_draw_mode = 2
[sub_resource type="StandardMaterial3D" id="15"]
albedo_color = Color(1, 1, 1, 0)
albedo_texture = ExtResource( 29 )
albedo_texture = ExtResource( "29" )
metallic = 1.0
roughness = 0.62
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 31 )
normal_texture = ExtResource( "31" )
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 30 )
ao_on_uv2 = false
ao_texture_channel = 0
ao_texture = ExtResource( "30" )
refraction_enabled = true
refraction_scale = 0.04
refraction_texture_channel = 0
[sub_resource type="StandardMaterial3D" id=16]
flags_unshaded = true
params_cull_mode = 1
params_grow = true
params_grow_amount = 0.03
[sub_resource type="StandardMaterial3D" id="16"]
cull_mode = 1
shading_mode = 0
albedo_color = Color(0.0261569, 0, 0, 1)
grow = true
grow_amount = 0.03
[sub_resource type="StandardMaterial3D" id=17]
next_pass = SubResource( 16 )
params_diffuse_mode = 4
params_specular_mode = 3
[sub_resource type="StandardMaterial3D" id="17"]
next_pass = SubResource( "16" )
diffuse_mode = 4
specular_mode = 3
albedo_color = Color(0.905765, 0.356039, 0.0994902, 1)
roughness = 0.04
[node name="MaterialTester" type="Node3D"]
script = ExtResource( 1 )
script = ExtResource( "1" )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 2 )
environment = SubResource( "Environment_q1py5" )
[node name="Testers" type="Node3D" parent="."]
[node name="White Plastic" parent="Testers" instance=ExtResource( 3 )]
[node name="White Plastic" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/White Plastic"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 1 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "1" )
[node name="Mirror" parent="Testers" instance=ExtResource( 3 )]
[node name="Mirror" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Mirror"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 5 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "5" )
[node name="Dark Wood" parent="Testers" instance=ExtResource( 3 )]
[node name="Dark Wood" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Dark Wood"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 6 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "6" )
[node name="Cheese" parent="Testers" instance=ExtResource( 3 )]
[node name="Cheese" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Cheese"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 7 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "7" )
[node name="Stones" parent="Testers" instance=ExtResource( 3 )]
[node name="Stones" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Stones"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 8 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "8" )
[node name="Brick" parent="Testers" instance=ExtResource( 3 )]
[node name="Brick" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Brick"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 9 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "9" )
[node name="Wool" parent="Testers" instance=ExtResource( 3 )]
[node name="Wool" parent="Testers" instance=ExtResource( "3" )]
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Wool"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 10 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "10" )
[node name="Aluminium" parent="Testers" instance=ExtResource( 3 )]
[node name="Aluminium" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Aluminium"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 11 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "11" )
[node name="Marble" parent="Testers" instance=ExtResource( 3 )]
[node name="Marble" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Marble"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 12 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "12" )
[node name="Wet Sand" parent="Testers" instance=ExtResource( 3 )]
[node name="Wet Sand" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Wet Sand"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 13 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "13" )
[node name="Rock" parent="Testers" instance=ExtResource( 3 )]
[node name="Rock" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Rock"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 14 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "14" )
[node name="Ice" parent="Testers" instance=ExtResource( 3 )]
[node name="Ice" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Ice"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 15 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "15" )
[node name="Toon" parent="Testers" instance=ExtResource( 3 )]
[node name="Toon" parent="Testers" instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 0)
[node name="GodotBall" type="MeshInstance3D" parent="Testers/Toon"]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
mesh = ExtResource( 4 )
surface_material_override/0 = SubResource( 17 )
material/1 = SubResource( 2 )
material/2 = SubResource( 3 )
material/3 = SubResource( 4 )
mesh = ExtResource( "4" )
surface_material_override/0 = SubResource( "17" )
[node name="CameraHolder" type="Node3D" parent="."]
transform = Transform3D(0.877582, 0, -0.479427, 0, 1, 0, 0.479427, 0, 0.877582, -36, 2.8, -4)
@@ -414,7 +348,6 @@ anchor_bottom = 1.0
offset_top = -44.0
offset_bottom = -30.0
size_flags_vertical = 0
align = 1
[connection signal="item_selected" from="UI/Background" to="." method="_on_bg_item_selected"]
[connection signal="pressed" from="UI/Previous" to="." method="_on_Previous_pressed"]

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +1,21 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=4 format=3 uid="uid://cgqfdwd4g5e14"]
[ext_resource path="res://models/test_bed/test_bed.glb" type="PackedScene" id=1]
[ext_resource path="res://models/test_bed/small_material.tres" type="Material" id=2]
[ext_resource path="res://models/test_bed/large_material.tres" type="Material" id=3]
[ext_resource type="PackedScene" uid="uid://b60ph1cdl0xlp" path="res://models/test_bed/test_bed.glb" id="1"]
[ext_resource type="Material" path="res://models/test_bed/small_material.tres" id="2"]
[ext_resource type="Material" path="res://models/test_bed/large_material.tres" id="3"]
[node name="TestBed" instance=ExtResource( 1 )]
[node name="TestBed" instance=ExtResource( "1" )]
[node name="SmallPart" parent="." index="0"]
surface_material_override/0 = ExtResource( 2 )
surface_material_override/0 = ExtResource( "2" )
[node name="LargePart" parent="." index="1"]
surface_material_override/0 = ExtResource( 3 )
surface_material_override/0 = ExtResource( "3" )
[node name="SpotLight3D" type="SpotLight3D" parent="." index="2"]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 5.5, 0)
shadow_enabled = true
spot_range = 9.37954
spot_angle = 31.8299
spot_range = 10.0
spot_attenuation = 0.1
spot_angle = 35.0
spot_angle_attenuation = 2.0

View File

@@ -6,7 +6,7 @@
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
config_version=5
[application]
@@ -17,10 +17,10 @@ for the purpose of showcasing Godot's rendering capabilities.
This demo was featured at the beginning of the Godot 3.0 trailer."
run/main_scene="res://material_tester.tscn"
config/icon="res://icon.png"
config/features=PackedStringArray("4.0")
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.s3tc.stex"
path.etc="res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.etc.stex"
type="CompressedTexture2D"
uid="uid://b8o8fe1yoym4t"
path.s3tc="res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.s3tc.ctex"
path.etc2="res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/aluminium_albedo.png"
dest_files=["res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.s3tc.stex", "res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.etc.stex"]
dest_files=["res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.s3tc.ctex", "res://.godot/imported/aluminium_albedo.png-a68e22c8a951430ab431b2a7307e8bc7.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.s3tc.stex"
path.etc="res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.etc.stex"
type="CompressedTexture2D"
uid="uid://bebdum2tiuopj"
path.s3tc="res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.s3tc.ctex"
path.etc2="res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/aluminium_flow.png"
dest_files=["res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.s3tc.stex", "res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.etc.stex"]
dest_files=["res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.s3tc.ctex", "res://.godot/imported/aluminium_flow.png-93fdac7ed0fa884674e32e5ec0c6d690.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.s3tc.stex"
path.etc="res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.etc.stex"
type="CompressedTexture2D"
uid="uid://0546okw1k04b"
path.s3tc="res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.s3tc.ctex"
path.etc2="res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/aluminium_normal.png"
dest_files=["res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.s3tc.stex", "res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.etc.stex"]
dest_files=["res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.s3tc.ctex", "res://.godot/imported/aluminium_normal.png-ff9bf84211f307b1d9e8bf86ebea04b1.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.s3tc.stex"
path.etc="res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.etc.stex"
type="CompressedTexture2D"
uid="uid://c31bsq44dxyh1"
path.s3tc="res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.s3tc.ctex"
path.etc2="res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/marble_albedo.png"
dest_files=["res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.s3tc.stex", "res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.etc.stex"]
dest_files=["res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.s3tc.ctex", "res://.godot/imported/marble_albedo.png-47e5ec5352a78eb204ccaf317de65697.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.s3tc.stex"
path.etc="res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.etc.stex"
type="CompressedTexture2D"
uid="uid://7d4kolmsjw8b"
path.s3tc="res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.s3tc.ctex"
path.etc2="res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/rock_albedo.jpg"
dest_files=["res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.s3tc.stex", "res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.etc.stex"]
dest_files=["res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.s3tc.ctex", "res://.godot/imported/rock_albedo.jpg-65fe78b8c7d44da07721bb783fdef67a.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.s3tc.stex"
path.etc="res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.etc.stex"
type="CompressedTexture2D"
uid="uid://3m1hjc851lp4"
path.s3tc="res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.s3tc.ctex"
path.etc2="res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/rock_ao.jpg"
dest_files=["res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.s3tc.stex", "res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.etc.stex"]
dest_files=["res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.s3tc.ctex", "res://.godot/imported/rock_ao.jpg-7578b4ab1e595c076d796172ca68cfa6.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.s3tc.stex"
path.etc="res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.etc.stex"
type="CompressedTexture2D"
uid="uid://c0dbkcj7pe743"
path.s3tc="res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.s3tc.ctex"
path.etc2="res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/rock_depth.jpg"
dest_files=["res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.s3tc.stex", "res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.etc.stex"]
dest_files=["res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.s3tc.ctex", "res://.godot/imported/rock_depth.jpg-4080fbc6202f837d0b0deef2c981bad4.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.s3tc.stex"
path.etc="res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.etc.stex"
type="CompressedTexture2D"
uid="uid://h1biny5hb4xc"
path.s3tc="res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.s3tc.ctex"
path.etc2="res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/rock_metal.jpg"
dest_files=["res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.s3tc.stex", "res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.etc.stex"]
dest_files=["res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.s3tc.ctex", "res://.godot/imported/rock_metal.jpg-8defa2e9d8169c7a08962c4d1f3e6354.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.s3tc.stex"
path.etc="res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.etc.stex"
type="CompressedTexture2D"
uid="uid://1vmbgyaaju3v"
path.s3tc="res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.s3tc.ctex"
path.etc2="res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/rock_rough.jpg"
dest_files=["res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.s3tc.stex", "res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.etc.stex"]
dest_files=["res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.s3tc.ctex", "res://.godot/imported/rock_rough.jpg-a18116680c5cb62b9f0632460fe30f62.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.s3tc.stex"
path.etc="res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.etc.stex"
type="CompressedTexture2D"
uid="uid://babs1mrgolbcj"
path.s3tc="res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.s3tc.ctex"
path.etc2="res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/sand_albedo.jpg"
dest_files=["res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.s3tc.stex", "res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.etc.stex"]
dest_files=["res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.s3tc.ctex", "res://.godot/imported/sand_albedo.jpg-c03140f13a9e6c9b1c6fe52f92bc0e1b.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.s3tc.stex"
path.etc="res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.etc.stex"
type="CompressedTexture2D"
uid="uid://cisvmvcj8c525"
path.s3tc="res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.s3tc.ctex"
path.etc2="res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/sand_metal.jpg"
dest_files=["res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.s3tc.stex", "res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.etc.stex"]
dest_files=["res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.s3tc.ctex", "res://.godot/imported/sand_metal.jpg-bc79f66c3e18060c7cbaa67c44681910.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.s3tc.stex"
path.etc="res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.etc.stex"
type="CompressedTexture2D"
uid="uid://xvn1ih5tbj6g"
path.s3tc="res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.s3tc.ctex"
path.etc2="res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/sand_normal.jpg"
dest_files=["res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.s3tc.stex", "res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.etc.stex"]
dest_files=["res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.s3tc.ctex", "res://.godot/imported/sand_normal.jpg-7a18b411efc93de1cffd09e24f6336b4.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.s3tc.stex"
path.etc="res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.etc.stex"
type="CompressedTexture2D"
uid="uid://bld3mlnaxf768"
path.s3tc="res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.s3tc.ctex"
path.etc2="res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/sand_rough.jpg"
dest_files=["res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.s3tc.stex", "res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.etc.stex"]
dest_files=["res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.s3tc.ctex", "res://.godot/imported/sand_rough.jpg-14616e257ba8a3726af90b2162c4ea2b.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/sand_shine.jpg-616f02f6faeaa1d08b3581323d96b4d0.stex"
type="CompressedTexture2D"
uid="uid://bk70hojw2e0np"
path="res://.godot/imported/sand_shine.jpg-616f02f6faeaa1d08b3581323d96b4d0.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://test_materials/sand_shine.jpg"
dest_files=["res://.godot/imported/sand_shine.jpg-616f02f6faeaa1d08b3581323d96b4d0.stex"]
dest_files=["res://.godot/imported/sand_shine.jpg-616f02f6faeaa1d08b3581323d96b4d0.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.s3tc.stex"
path.etc="res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.etc.stex"
type="CompressedTexture2D"
uid="uid://w5wmopu8t6ya"
path.s3tc="res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.s3tc.ctex"
path.etc2="res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_bricks.jpg"
dest_files=["res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.s3tc.stex", "res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.etc.stex"]
dest_files=["res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.s3tc.ctex", "res://.godot/imported/texture_bricks.jpg-c5a7a817bf05cfd9e63ae7aecdfad44c.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.s3tc.stex"
path.etc="res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.etc.stex"
type="CompressedTexture2D"
uid="uid://lbhnr6ww3frm"
path.s3tc="res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.s3tc.ctex"
path.etc2="res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_bricks_depth.jpg"
dest_files=["res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.s3tc.stex", "res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.etc.stex"]
dest_files=["res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.s3tc.ctex", "res://.godot/imported/texture_bricks_depth.jpg-fed037b05656973f46c8d8fc0dae33d5.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.s3tc.stex"
path.etc="res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.etc.stex"
type="CompressedTexture2D"
uid="uid://c2d4tyfl662ra"
path.s3tc="res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.s3tc.ctex"
path.etc2="res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_bricks_metal.jpg"
dest_files=["res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.s3tc.stex", "res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.etc.stex"]
dest_files=["res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.s3tc.ctex", "res://.godot/imported/texture_bricks_metal.jpg-0cfc783b7a5646c7f79c1bfc856a0169.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.s3tc.stex"
path.etc="res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.etc.stex"
type="CompressedTexture2D"
uid="uid://baces1lcbjoxv"
path.s3tc="res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.s3tc.ctex"
path.etc2="res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_bricks_normal.jpg"
dest_files=["res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.s3tc.stex", "res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.etc.stex"]
dest_files=["res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.s3tc.ctex", "res://.godot/imported/texture_bricks_normal.jpg-605ba8666210a56b09eb0b2392bd6355.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.s3tc.stex"
path.etc="res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.etc.stex"
type="CompressedTexture2D"
uid="uid://xu18ocodkbx7"
path.s3tc="res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.s3tc.ctex"
path.etc2="res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_cheese_albedo.png"
dest_files=["res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.s3tc.stex", "res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.etc.stex"]
dest_files=["res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.s3tc.ctex", "res://.godot/imported/texture_cheese_albedo.png-47db78359d020535d042fccfe547c563.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.s3tc.stex"
path.etc="res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.etc.stex"
type="CompressedTexture2D"
uid="uid://65icecsss5vf"
path.s3tc="res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.s3tc.ctex"
path.etc2="res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_cheese_ao.png"
dest_files=["res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.s3tc.stex", "res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.etc.stex"]
dest_files=["res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.s3tc.ctex", "res://.godot/imported/texture_cheese_ao.png-db37cd87a9560149bf42629f84a8517d.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.s3tc.stex"
path.etc="res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.etc.stex"
type="CompressedTexture2D"
uid="uid://8o7dvpd64s0i"
path.s3tc="res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.s3tc.ctex"
path.etc2="res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_cheese_depth.png"
dest_files=["res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.s3tc.stex", "res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.etc.stex"]
dest_files=["res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.s3tc.ctex", "res://.godot/imported/texture_cheese_depth.png-71cbe5ab2c9f4e2343f1082a376b299f.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.s3tc.stex"
path.etc="res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.etc.stex"
type="CompressedTexture2D"
uid="uid://7dpm3ud1syn"
path.s3tc="res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.s3tc.ctex"
path.etc2="res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_cheese_normal.png"
dest_files=["res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.s3tc.stex", "res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.etc.stex"]
dest_files=["res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.s3tc.ctex", "res://.godot/imported/texture_cheese_normal.png-cfbb1f914512de34b962a84fd60e3641.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.s3tc.stex"
path.etc="res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.etc.stex"
type="CompressedTexture2D"
uid="uid://dll713t0m0b6k"
path.s3tc="res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.s3tc.ctex"
path.etc2="res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_rock_albedo.png"
dest_files=["res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.s3tc.stex", "res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.etc.stex"]
dest_files=["res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.s3tc.ctex", "res://.godot/imported/texture_rock_albedo.png-02df27b2a7e2344422e9ac7cdaec70ee.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.s3tc.stex"
path.etc="res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.etc.stex"
type="CompressedTexture2D"
uid="uid://cg1wtsuae0lmc"
path.s3tc="res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.s3tc.ctex"
path.etc2="res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_rock_ao.png"
dest_files=["res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.s3tc.stex", "res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.etc.stex"]
dest_files=["res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.s3tc.ctex", "res://.godot/imported/texture_rock_ao.png-b7008000c4f1458c49be4996848f1a6e.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.s3tc.stex"
path.etc="res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.etc.stex"
type="CompressedTexture2D"
uid="uid://x5qdkxkf4tmq"
path.s3tc="res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.s3tc.ctex"
path.etc2="res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_rock_depth.png"
dest_files=["res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.s3tc.stex", "res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.etc.stex"]
dest_files=["res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.s3tc.ctex", "res://.godot/imported/texture_rock_depth.png-e02f2dbd984045ed2373ac9f5ad46460.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.s3tc.stex"
path.etc="res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.etc.stex"
type="CompressedTexture2D"
uid="uid://bte0rsu3bcmxa"
path.s3tc="res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.s3tc.ctex"
path.etc2="res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_rock_metal.png"
dest_files=["res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.s3tc.stex", "res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.etc.stex"]
dest_files=["res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.s3tc.ctex", "res://.godot/imported/texture_rock_metal.png-53fdacd914e7bfa258d07a88f0644507.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.s3tc.stex"
path.etc="res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.etc.stex"
type="CompressedTexture2D"
uid="uid://dqhvdd867nvjm"
path.s3tc="res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.s3tc.ctex"
path.etc2="res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_rock_normal.png"
dest_files=["res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.s3tc.stex", "res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.etc.stex"]
dest_files=["res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.s3tc.ctex", "res://.godot/imported/texture_rock_normal.png-c5ae054e70e4a6414518c2178ea9b0b7.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.s3tc.stex"
path.etc="res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.etc.stex"
type="CompressedTexture2D"
uid="uid://b3efpr0uwln6w"
path.s3tc="res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.s3tc.ctex"
path.etc2="res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/texture_wood.png"
dest_files=["res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.s3tc.stex", "res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.etc.stex"]
dest_files=["res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.s3tc.ctex", "res://.godot/imported/texture_wood.png-e3109b4e15fb09c6edce5029c4f30771.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.s3tc.stex"
path.etc="res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.etc.stex"
type="CompressedTexture2D"
uid="uid://do34kmmykk6gf"
path.s3tc="res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.s3tc.ctex"
path.etc2="res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/wool_albedo.png"
dest_files=["res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.s3tc.stex", "res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.etc.stex"]
dest_files=["res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.s3tc.ctex", "res://.godot/imported/wool_albedo.png-a41e4f37762b4ccb66c8b36c42febef1.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.s3tc.stex"
path.etc="res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.etc.stex"
type="CompressedTexture2D"
uid="uid://b45auu1apiq0g"
path.s3tc="res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.s3tc.ctex"
path.etc2="res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/wool_depth.png"
dest_files=["res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.s3tc.stex", "res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.etc.stex"]
dest_files=["res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.s3tc.ctex", "res://.godot/imported/wool_depth.png-47d3fa1d6b4aa0857f735cbad6b1556e.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,35 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/wool_normal.png-e7a5ef7bc0ad8d444a32a136bf5d4f12.stex"
type="CompressedTexture2D"
uid="uid://cc44l0alh6gr4"
path.s3tc="res://.godot/imported/wool_normal.png-e7a5ef7bc0ad8d444a32a136bf5d4f12.s3tc.ctex"
path.etc2="res://.godot/imported/wool_normal.png-e7a5ef7bc0ad8d444a32a136bf5d4f12.etc2.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://test_materials/wool_normal.png"
dest_files=["res://.godot/imported/wool_normal.png-e7a5ef7bc0ad8d444a32a136bf5d4f12.stex"]
dest_files=["res://.godot/imported/wool_normal.png-e7a5ef7bc0ad8d444a32a136bf5d4f12.s3tc.ctex", "res://.godot/imported/wool_normal.png-e7a5ef7bc0ad8d444a32a136bf5d4f12.etc2.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -10,7 +10,7 @@ var tester_index = 0
var rot_x = -0.5 # This must be kept in sync with RotationX.
var rot_y = -0.5 # This must be kept in sync with CameraHolder.
var zoom = 5
var base_height = ProjectSettings.get_setting("display/window/size/height")
var base_height = ProjectSettings.get_setting("display/window/size/viewport_height")
var backgrounds = [
{ path = "res://backgrounds/schelde.hdr", name = "Riverside"},
@@ -48,8 +48,8 @@ func _unhandled_input(ev):
rot_x -= relative_motion.y * ROT_SPEED
rot_y = clamp(rot_y, -1.6, 1.6)
rot_x = clamp(rot_x, -1.4, 0.5)
camera_holder.transform.basis = Basis(Vector3(0, rot_y, 0))
rotation_x.transform.basis = Basis(Vector3(rot_x, 0, 0))
camera_holder.transform.basis = Basis.from_euler(Vector3(0, rot_y, 0))
rotation_x.transform.basis = Basis.from_euler(Vector3(rot_x, 0, 0))
func _process(delta):
@@ -72,4 +72,4 @@ func _on_Next_pressed():
func _on_bg_item_selected(index):
get_node(^"WorldEnvironment").environment.background_sky.panorama = load(backgrounds[index].path)
get_node(^"WorldEnvironment").environment.sky.sky_material.panorama = load(backgrounds[index].path)

View File

@@ -10,8 +10,8 @@ config_version=4
[application]
config/name="3D Node3D Mesh"
config/description="Node3D mesh demo for 3D scenes, with a character
config/name="3D Navigation Mesh"
config/description="Navigation mesh demo for 3D scenes, with a character
able to pathfind around a complex 3D environment.
The navigation path is drawn using a line.
Code is provided for polyline following in 3D."

View File

@@ -34,7 +34,7 @@ __meta__ = {
}
[node name="OffsetX" type="HBoxContainer" parent="Controls"]
offset_right = 202.0
offset_right = 193.0
offset_bottom = 26.0
theme_override_constants/separation = 20
alignment = 2
@@ -43,22 +43,22 @@ __meta__ = {
}
[node name="Label" type="Label" parent="Controls/OffsetX"]
offset_right = 62.0
offset_left = 103.0
offset_right = 165.0
offset_bottom = 26.0
text = "Offset X"
[node name="HSlider" type="HSlider" parent="Controls/OffsetX"]
offset_left = 82.0
offset_right = 202.0
offset_left = 185.0
offset_right = 193.0
offset_bottom = 16.0
rect_min_size = Vector2(120, 0)
min_value = -1.0
max_value = 1.0
step = 0.01
[node name="OffsetY" type="HBoxContainer" parent="Controls"]
offset_top = 36.0
offset_right = 202.0
offset_right = 193.0
offset_bottom = 62.0
theme_override_constants/separation = 20
alignment = 2
@@ -67,23 +67,22 @@ __meta__ = {
}
[node name="Label" type="Label" parent="Controls/OffsetY"]
offset_left = 1.0
offset_right = 62.0
offset_left = 103.0
offset_right = 165.0
offset_bottom = 26.0
text = "Offset Y"
[node name="HSlider" type="HSlider" parent="Controls/OffsetY"]
offset_left = 82.0
offset_right = 202.0
offset_left = 185.0
offset_right = 193.0
offset_bottom = 16.0
rect_min_size = Vector2(120, 0)
min_value = -1.0
max_value = 1.0
step = 0.01
[node name="OffsetZ" type="HBoxContainer" parent="Controls"]
offset_top = 72.0
offset_right = 202.0
offset_right = 193.0
offset_bottom = 98.0
theme_override_constants/separation = 20
alignment = 2
@@ -92,16 +91,15 @@ __meta__ = {
}
[node name="Label" type="Label" parent="Controls/OffsetZ"]
offset_left = 1.0
offset_right = 62.0
offset_left = 104.0
offset_right = 165.0
offset_bottom = 26.0
text = "Offset Z"
[node name="HSlider" type="HSlider" parent="Controls/OffsetZ"]
offset_left = 82.0
offset_right = 202.0
offset_left = 185.0
offset_right = 193.0
offset_bottom = 16.0
rect_min_size = Vector2(120, 0)
min_value = -1.0
max_value = 1.0
step = 0.01

View File

@@ -46,7 +46,6 @@ shape = SubResource( "4" )
offset_right = 40.0
offset_bottom = 14.0
text = "0"
align = 1
script = ExtResource( "2" )
__meta__ = {
"_edit_use_anchors_": false
@@ -64,7 +63,6 @@ shape = SubResource( "4" )
offset_right = 40.0
offset_bottom = 14.0
text = "0.5"
align = 1
script = ExtResource( "2" )
__meta__ = {
"_edit_use_anchors_": false
@@ -82,7 +80,6 @@ shape = SubResource( "4" )
offset_right = 40.0
offset_bottom = 14.0
text = "1"
align = 1
script = ExtResource( "2" )
__meta__ = {
"_edit_use_anchors_": false
@@ -111,7 +108,6 @@ shape = SubResource( "4" )
offset_right = 40.0
offset_bottom = 14.0
text = "0"
align = 1
script = ExtResource( "2" )
__meta__ = {
"_edit_use_anchors_": false
@@ -129,7 +125,6 @@ shape = SubResource( "4" )
offset_right = 40.0
offset_bottom = 14.0
text = "0.5"
align = 1
script = ExtResource( "2" )
__meta__ = {
"_edit_use_anchors_": false
@@ -147,7 +142,6 @@ shape = SubResource( "4" )
offset_right = 40.0
offset_bottom = 14.0
text = "1"
align = 1
script = ExtResource( "2" )
__meta__ = {
"_edit_use_anchors_": false

View File

@@ -146,7 +146,7 @@ func spawn_body_key(body_key):
func init_body():
if _current_body is CharacterBody3D:
_current_body._stop_on_slopes = _slope
_current_body._use_snap = _snap
_current_body.use_snap = _snap
elif _current_body is RigidDynamicBody3D:
_current_body.physics_material_override.rough = _rough
_current_body.physics_material_override.friction = 1.0 if _friction else 0.0

View File

@@ -29,7 +29,7 @@ size = Vector3(4, 0.4, 2)
[sub_resource type="Animation" id="9"]
length = 9.0
[node name="Test" type="Node3D"]
[node name="Test2" type="Node3D"]
script = ExtResource( "2" )
[node name="LabelBodyType" type="Label" parent="."]
@@ -54,7 +54,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.18538, 0)
collision_layer = 2
script = ExtResource( "4" )
_stop_on_slopes = true
_use_snap = true
use_snap = true
[node name="Capsule" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
@@ -118,6 +118,7 @@ anims/Move = SubResource( "9" )
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
current = true
script = ExtResource( "1" )
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]

View File

@@ -13,4 +13,5 @@ script = ExtResource( "1" )
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.53602, 12.2684)
current = true
script = ExtResource( "4" )

View File

@@ -6,15 +6,10 @@
[ext_resource type="PackedScene" uid="uid://cl2vpuxqgnylc" path="res://tests/static_scene.tscn" id="5"]
[sub_resource type="BoxShape3D" id="1"]
size = Vector3(1, 1, 1)
[sub_resource type="CapsuleShape3D" id="2"]
radius = 0.5
height = 1.5
[sub_resource type="CylinderShape3D" id="3"]
radius = 0.5
height = 1.0
[sub_resource type="ConvexPolygonShape3D" id="4"]
points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0)

View File

@@ -9,7 +9,6 @@ offset_right = 125.0
offset_bottom = 126.719
text = "TEST OPTIONS"
flat = false
align = 0
script = ExtResource( "1" )
__meta__ = {
"_edit_use_anchors_": false

View File

@@ -2,7 +2,7 @@ extends CharacterBody3D
@export var _stop_on_slopes = false
@export var _use_snap = false
@export var use_snap = false
var _gravity = 20.0

View File

@@ -9,7 +9,6 @@ var _dir = 1.0
var _distance = 10.0
var _walk_spd = 100.0
var _acceleration = 22.0
var _gravity_impulse = 30.0
var _is_on_floor = false

File diff suppressed because one or more lines are too long

View File

@@ -1,25 +1,23 @@
[gd_resource type="Environment" load_steps=2 format=2]
[gd_resource type="Environment" load_steps=3 format=3 uid="uid://bupmwdx23k178"]
[sub_resource type="Sky" id=1]
radiance_size = 1
sky_top_color = Color( 0.219882, 0.193725, 0.366471, 1 )
sky_horizon_color = Color( 0.342622, 0.0655002, 0.558935, 1 )
sky_curve = 0.0490365
ground_bottom_color = Color( 0.0342205, 0.0333383, 0.0322154, 1 )
ground_horizon_color = Color( 0.148289, 0.138067, 0.125119, 1 )
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fiix7"]
sky_top_color = Color(0.219608, 0.192157, 0.364706, 1)
sky_horizon_color = Color(0.341176, 0.0666667, 0.560784, 1)
ground_bottom_color = Color(0.0352941, 0.0352941, 0.0313726, 1)
ground_horizon_color = Color(0.14902, 0.137255, 0.12549, 1)
ground_curve = 0.25
sun_latitude = 55.0
sun_longitude = -80.0
texture_size = 0
[sub_resource type="Sky" id="1"]
sky_material = SubResource( "ProceduralSkyMaterial_fiix7" )
radiance_size = 1
[resource]
background_mode = 2
background_sky = SubResource( 1 )
sky = SubResource( "1" )
ambient_light_energy = 5.0
tonemap_mode = 2
tonemap_white = 6.0
ssao_blur = 1
glow_levels/7 = true
glow_levels/7 = 1.0
glow_strength = 0.79
glow_bloom = 1.0
glow_blend_mode = 0
glow_bicubic_upscale = true

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
type="CompressedTexture2D"
uid="uid://cgp8ucnt18oru"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"]
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,25 +1,25 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=12 format=3 uid="uid://y0rsox5qdoci"]
[ext_resource path="res://cubelib.tres" type="MeshLibrary" id=1]
[ext_resource path="res://player/cubio.tscn" type="PackedScene" id=2]
[ext_resource path="res://models/cube.mesh" type="ArrayMesh" id=3]
[ext_resource path="res://models/mushroom.glb" type="PackedScene" id=5]
[ext_resource path="res://level.gd" type="Script" id=6]
[ext_resource path="res://cube_rigidbody.tscn" type="PackedScene" id=7]
[ext_resource type="MeshLibrary" uid="uid://dxc3y3vtd7ins" path="res://cubelib.tres" id="1"]
[ext_resource type="PackedScene" uid="uid://cbvuesb1ptdh4" path="res://player/cubio.tscn" id="2"]
[ext_resource type="ArrayMesh" uid="uid://h65pkfq5sgmy" path="res://models/cube.mesh" id="3"]
[ext_resource type="Environment" uid="uid://bupmwdx23k178" path="res://default_env.tres" id="3_scanf"]
[ext_resource type="PackedScene" uid="uid://bonauusmt0ss" path="res://models/mushroom.glb" id="5"]
[ext_resource type="Script" path="res://level.gd" id="6"]
[ext_resource type="PackedScene" path="res://cube_rigidbody.tscn" id="7"]
[sub_resource type="BoxShape3D" id=1]
[sub_resource type="BoxShape3D" id="1"]
margin = 0.001
extents = Vector3(0.5, 0.5, 0.5)
[sub_resource type="Animation" id=2]
[sub_resource type="Animation" id="2"]
length = 10.0
loop = true
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1, 4, 6, 9, 10),
"transitions": PackedFloat32Array(1, -2, 1, -2, 1, 1),
@@ -27,15 +27,15 @@ tracks/0/keys = {
"values": [Vector3(0.5, 4.5, -2.5), Vector3(0.5, 4.5, -2.5), Vector3(0.5, 8.5, -2.5), Vector3(0.5, 8.5, -2.5), Vector3(0.5, 4.5, -2.5), Vector3(0.5, 4.5, -2.5)]
}
[sub_resource type="Animation" id=3]
[sub_resource type="Animation" id="3"]
length = 10.0
loop = true
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2, 4.5, 6, 9),
"transitions": PackedFloat32Array(1, -2, 1, -2, 1),
@@ -43,16 +43,16 @@ tracks/0/keys = {
"values": [Vector3(-3.5, 8.5, 4.5), Vector3(-3.5, 8.5, 4.5), Vector3(3.5, 8.5, 4.5), Vector3(3.5, 8.5, 4.5), Vector3(-3.5, 8.5, 4.5)]
}
[sub_resource type="BoxShape3D" id=4]
[sub_resource type="BoxShape3D" id="4"]
[node name="World3D" type="Node3D"]
script = ExtResource( 6 )
script = ExtResource( "6" )
__meta__ = {
"__editor_plugin_screen__": "3D"
}
[node name="GridMap" type="GridMap" parent="."]
mesh_library = ExtResource( 1 )
mesh_library = ExtResource( "1" )
cell_size = Vector3(1, 1, 1)
data = {
"cells": PackedInt32Array(0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 196603, 0, 0, 196604, 0, 0, 524292, 0, 0, 589820, 0, 0, 786432, 0, 0, 851967, 0, 0, 0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 1, 0, 65530, 1, 0, 65531, 1, 0, 65532, 1, 0, 65533, 1, 0, 65534, 1, 0, 65535, 1, 0, 131075, 1, 0, 196603, 1, 0, 196604, 1, 0, 524292, 1, 0, 589820, 1, 0, 786432, 1, 0, 851967, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 2, 0, 4, 2, 0, 65530, 2, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 131075, 2, 0, 196603, 2, 0, 196604, 2, 0, 524292, 2, 0, 589820, 2, 0, 786432, 2, 0, 786433, 2, 0, 851966, 2, 0, 851967, 2, 0, 0, 3, 0, 1, 3, 0, 2, 3, 0, 3, 3, 0, 4, 3, 0, 65530, 3, 0, 65531, 3, 0, 65532, 3, 0, 65533, 3, 0, 65534, 3, 0, 65535, 3, 0, 196603, 3, 0, 524291, 3, 0, 524292, 3, 0, 589820, 3, 0, 786432, 3, 0, 786433, 3, 0, 851966, 3, 0, 851967, 3, 0, 0, 4, 0, 1, 4, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 65530, 4, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 4, 0, 196603, 4, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 4, 5, 0, 65530, 5, 0, 65531, 5, 0, 65532, 5, 0, 65533, 5, 0, 65534, 5, 0, 65535, 5, 0, 131075, 5, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 0, 65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 131075, 6, 0, 196603, 6, 0, 0, 7, 0, 1, 7, 0, 2, 7, 0, 3, 7, 0, 4, 7, 0, 65530, 7, 0, 65531, 7, 0, 65532, 7, 0, 65533, 7, 0, 65534, 7, 0, 65535, 7, 0, 131075, 7, 0, 196603, 7, 0, 0, 8, 0, 1, 8, 0, 2, 8, 0, 3, 8, 0, 4, 8, 0, 65530, 8, 0, 65531, 8, 0, 65532, 8, 0, 65533, 8, 0, 65534, 8, 0, 65535, 8, 0, 131075, 8, 0, 196603, 8, 0, 196604, 8, 0, 0, 9, 0, 1, 9, 0, 2, 9, 0, 3, 9, 0, 4, 9, 0, 65530, 9, 0, 65531, 9, 0, 65532, 9, 0, 65533, 9, 0, 65534, 9, 0, 65535, 9, 0, 131073, 9, 0, 131074, 9, 0, 131075, 9, 0, 196603, 9, 0, 196604, 9, 0, 196605, 9, 0, 196608, 9, 0, 262142, 9, 0, 0, 10, 0, 1, 10, 0, 2, 10, 0, 3, 10, 0, 4, 10, 0, 65530, 10, 0, 65531, 10, 0, 65532, 10, 0, 65533, 10, 0, 65534, 10, 0, 65535, 10, 0, 0, 11, 0, 1, 11, 0, 2, 11, 0, 3, 11, 0, 4, 11, 0, 65530, 11, 0, 65531, 11, 0, 65532, 11, 0, 65533, 11, 0, 65534, 11, 0, 65535, 11, 0, 0, 65532, 0, 1, 65532, 0, 2, 65532, 0, 3, 65532, 0, 4, 65532, 0, 65530, 65532, 0, 65531, 65532, 0, 65532, 65532, 0, 65533, 65532, 0, 65534, 65532, 0, 65535, 65532, 0, 0, 65533, 0, 1, 65533, 0, 2, 65533, 0, 3, 65533, 0, 4, 65533, 0, 65530, 65533, 0, 65531, 65533, 0, 65532, 65533, 0, 65533, 65533, 0, 65534, 65533, 0, 65535, 65533, 0, 262145, 65533, 0, 262146, 65533, 0, 262147, 65533, 0, 589822, 65533, 0, 589823, 65533, 0, 655363, 65533, 0, 655364, 65533, 0, 720897, 65533, 0, 720898, 65533, 0, 786432, 65533, 0, 851967, 65533, 0, 0, 65534, 0, 1, 65534, 0, 2, 65534, 0, 3, 65534, 0, 4, 65534, 0, 65530, 65534, 0, 65531, 65534, 0, 65532, 65534, 0, 65533, 65534, 0, 65534, 65534, 0, 65535, 65534, 0, 65536, 65534, 0, 131071, 65534, 0, 196603, 65534, 0, 196604, 65534, 0, 196605, 65534, 0, 196606, 65534, 0, 196607, 65534, 0, 589822, 65534, 0, 589828, 65534, 0, 786432, 65534, 0, 851967, 65534, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 65530, 65535, 0, 65531, 65535, 0, 65532, 65535, 0, 65533, 65535, 0, 65534, 65535, 0, 65535, 65535, 0, 196603, 65535, 0, 196604, 65535, 0, 196611, 65535, 0, 589820, 65535, 0, 589821, 65535, 0, 589822, 65535, 0, 589828, 65535, 0, 786432, 65535, 0, 851967, 65535, 0)
@@ -62,18 +62,21 @@ __meta__ = {
"_editor_floor_": Vector3(0, 12, 0)
}
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( "3_scanf" )
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.173649, 0.806707, -0.564863, 0, 0.573576, 0.819152, 0.984808, 0.142244, -0.0996007, 0, 0, 0)
light_energy = 1.3
shadow_enabled = true
shadow_bias = -0.02
shadow_reverse_cull_face = true
directional_shadow_mode = 0
directional_shadow_normal_bias = 0.0
directional_shadow_bias_split_scale = 0.0
directional_shadow_max_distance = 20.0
directional_shadow_split_1 = 0.05
directional_shadow_split_2 = 0.1
directional_shadow_split_3 = 0.2
directional_shadow_fade_start = 0.25
directional_shadow_max_distance = 50.0
[node name="Cubio" parent="." instance=ExtResource( 2 )]
[node name="Cubio" parent="." instance=ExtResource( "2" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 2, 4)
[node name="Elevator1" type="CharacterBody3D" parent="."]
@@ -81,47 +84,45 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 4.5, -2.5)
input_capture_on_drag = true
[node name="Mesh" type="MeshInstance3D" parent="Elevator1"]
mesh = ExtResource( 3 )
surface_material_override/0 = null
mesh = ExtResource( "3" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="Elevator1"]
shape = SubResource( 1 )
shape = SubResource( "1" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Elevator1"]
autoplay = "updown1"
playback_process_mode = 0
anims/updown1 = SubResource( 2 )
anims/updown1 = SubResource( "2" )
[node name="Elevator2" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 8.5, 4.5)
[node name="Mesh" type="MeshInstance3D" parent="Elevator2"]
mesh = ExtResource( 3 )
surface_material_override/0 = null
mesh = ExtResource( "3" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="Elevator2"]
shape = SubResource( 1 )
shape = SubResource( "1" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Elevator2"]
autoplay = "side"
playback_process_mode = 0
anims/side = SubResource( 3 )
anims/updown1 = SubResource( 2 )
anims/side = SubResource( "3" )
anims/updown1 = SubResource( "2" )
[node name="Princess" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13.25, 3)
[node name="Mushroom" parent="Princess" instance=ExtResource( 5 )]
[node name="Mushroom" parent="Princess" instance=ExtResource( "5" )]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Princess"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource( 4 )
shape = SubResource( "4" )
[node name="SpawnTimer" type="Timer" parent="."]
wait_time = 2.0
autostart = true
[node name="cube_rigidbody" parent="." instance=ExtResource( 7 )]
[node name="cube_rigidbody" parent="." instance=ExtResource( "7" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.416964, 3.3565, 2.6332)
[connection signal="body_entered" from="Princess" to="Cubio" method="_on_tcube_body_entered"]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,38 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.stex"
path.etc2="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.stex"
path.etc="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc.stex"
type="CompressedTexture2D"
uid="uid://5wiey7d4yffc"
path.s3tc="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.ctex"
path.etc2="res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://models/white_wood.png"
dest_files=["res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.stex", "res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.stex", "res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc.stex"]
dest_files=["res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.s3tc.ctex", "res://.godot/imported/white_wood.png-821b7bf9b3881778c9bff1c965d8a87c.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -18,14 +18,15 @@ func _physics_process(_delta):
# Get the camera's transform basis, but remove the X rotation such
# that the Y axis is up and Z is horizontal.
var cam_basis = camera.global_transform.basis
var basis = cam_basis.rotated(cam_basis.x, -cam_basis.get_euler().x)
dir = basis * (dir)
cam_basis = cam_basis.rotated(cam_basis.x, -cam_basis.get_euler().x)
dir = cam_basis * dir
apply_central_impulse(dir.normalized() / 10)
# Jumping code.
if on_ground() and Input.is_action_pressed(&"jump"):
apply_central_impulse(Vector3.UP)
apply_central_impulse(dir.normalized() / 20)
if on_ground():
apply_central_impulse(dir.normalized() / 6)
# Jumping code.
if Input.is_action_pressed(&"jump"):
apply_central_impulse(Vector3.UP * 2)
# Test if there is a body below the player.

View File

@@ -1,35 +1,33 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=6 format=3 uid="uid://cbvuesb1ptdh4"]
[ext_resource path="res://player/cubio.gd" type="Script" id=1]
[ext_resource path="res://player/follow_camera.gd" type="Script" id=3]
[ext_resource path="res://models/white_cube_material.tres" type="Material" id=4]
[ext_resource type="Script" path="res://player/cubio.gd" id="1"]
[ext_resource type="Script" path="res://player/follow_camera.gd" id="3"]
[ext_resource type="Material" path="res://models/white_cube_material.tres" id="4"]
[sub_resource type="CapsuleMesh" id=6]
radius = 0.5
mid_height = 0.7
[sub_resource type="CapsuleMesh" id="6"]
height = 1.7
[sub_resource type="CapsuleShape3D" id=5]
radius = 0.5
height = 0.7
[sub_resource type="CapsuleShape3D" id="5"]
height = 1.7
[node name="RigidDynamicBody3D" type="RigidDynamicBody3D"]
can_sleep = false
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
center_of_mass_mode = 1
can_sleep = false
linear_damp_mode = 1
linear_damp = 0.5
script = ExtResource( 1 )
script = ExtResource( "1" )
[node name="BoxMesh" type="MeshInstance3D" parent="."]
_import_path = NodePath("cube-col")
transform = Transform3D(0.9, 0, 0, 0, -3.93403e-08, -0.9, 0, 0.9, -3.93403e-08, 0, 0, 0)
mesh = SubResource( 6 )
mesh = SubResource( "6" )
skeleton = NodePath("")
surface_material_override/0 = ExtResource( 4 )
surface_material_override/0 = ExtResource( "4" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
shape = SubResource( 5 )
shape = SubResource( "5" )
[node name="Target" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
@@ -39,7 +37,7 @@ transform = Transform3D(0.34202, -0.321394, 0.883022, 0, 0.939693, 0.34202, -0.9
fov = 74.0
near = 0.1
far = 50.0
script = ExtResource( 3 )
script = ExtResource( "3" )
[node name="WinText" type="CenterContainer" parent="."]
visible = false
@@ -54,11 +52,11 @@ offset_bottom = 50.0
[node name="TextLabel" type="Label" parent="WinText/Holder"]
offset_left = -354.0
offset_bottom = 14.0
rect_scale = Vector2(2, 2)
offset_right = 354.0
offset_bottom = 50.0
theme_override_font_sizes/font_size = 20
text = "Thank You, Cubio! But the Princess is in Another Demo!"
align = 1
valign = 1
horizontal_alignment = 1
vertical_alignment = 1
[node name="RayCast3D" type="RayCast3D" parent="."]
enabled = true

View File

@@ -6,15 +6,16 @@
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
config_version=5
[application]
config/name="RigidDynamicBody3D Character 3D"
config/name="RigidBody Character 3D"
config/description="Rigidbody character demo for 3D using a capsule for the character.
"
run/main_scene="res://level.tscn"
config/icon="res://icon.png"
config/features=PackedStringArray("4.0")
[gdnative]

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.s3tc.stex"
path.etc="res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.etc.stex"
type="CompressedTexture2D"
uid="uid://deeixbwehify0"
path.s3tc="res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.s3tc.ctex"
path.etc2="res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://Images/cement.png"
dest_files=["res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.s3tc.stex", "res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.etc.stex"]
dest_files=["res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.s3tc.ctex", "res://.godot/imported/cement.png-702c83258feb3e054c70d5eef03c8880.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/choose_tow.png-44e07473d53f066833ce9f8293b279c2.stex"
type="CompressedTexture2D"
uid="uid://de7itkxhl0u28"
path="res://.godot/imported/choose_tow.png-44e07473d53f066833ce9f8293b279c2.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://Images/choose_tow.png"
dest_files=["res://.godot/imported/choose_tow.png-44e07473d53f066833ce9f8293b279c2.stex"]
dest_files=["res://.godot/imported/choose_tow.png-44e07473d53f066833ce9f8293b279c2.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/choose_trailer.png-655ee091ac0a8e8db872e684d92af7c9.stex"
type="CompressedTexture2D"
uid="uid://hvkcmpdq1t0k"
path="res://.godot/imported/choose_trailer.png-655ee091ac0a8e8db872e684d92af7c9.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://Images/choose_trailer.png"
dest_files=["res://.godot/imported/choose_trailer.png-655ee091ac0a8e8db872e684d92af7c9.stex"]
dest_files=["res://.godot/imported/choose_trailer.png-655ee091ac0a8e8db872e684d92af7c9.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,8 +1,9 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/choose_van.png-7feae3acf1caead6dd28bf86a912e079.stex"
type="CompressedTexture2D"
uid="uid://bh7b4n4lg1uqt"
path="res://.godot/imported/choose_van.png-7feae3acf1caead6dd28bf86a912e079.ctex"
metadata={
"vram_texture": false
}
@@ -10,26 +11,23 @@ metadata={
[deps]
source_file="res://Images/choose_van.png"
dest_files=["res://.godot/imported/choose_van.png-7feae3acf1caead6dd28bf86a912e079.stex"]
dest_files=["res://.godot/imported/choose_van.png-7feae3acf1caead6dd28bf86a912e079.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,37 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.s3tc.stex"
path.etc="res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.etc.stex"
type="CompressedTexture2D"
uid="uid://cltpie6eq33br"
path.s3tc="res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.s3tc.ctex"
path.etc2="res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc"],
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://Images/grass.png"
dest_files=["res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.s3tc.stex", "res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.etc.stex"]
dest_files=["res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.s3tc.ctex", "res://.godot/imported/grass.png-6ab6f9e06dc0919bf6b674e512573aeb.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=true
flags/srgb=1
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/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
process/hdr_as_srgb=false
process/size_limit=0
detect_3d/compress_to=0

Some files were not shown because too many files have changed in this diff Show More