diff --git a/asset_dev/gfolfball.xcf b/asset_dev/gfolfball.xcf new file mode 100644 index 0000000..b608818 Binary files /dev/null and b/asset_dev/gfolfball.xcf differ diff --git a/assets/textures/gfolfball/gfolfball.png b/assets/textures/gfolfball/gfolfball.png new file mode 100644 index 0000000..04d2248 --- /dev/null +++ b/assets/textures/gfolfball/gfolfball.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:969429ccb984a7c4d967e6e1a35b55fcf88dc07b4a225e9c518cdf8117bca1f3 +size 772 diff --git a/assets/textures/gfolfball/gfolfball.png.import b/assets/textures/gfolfball/gfolfball.png.import new file mode 100644 index 0000000..8845c9a --- /dev/null +++ b/assets/textures/gfolfball/gfolfball.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ckhiq6rfjv63u" +path.s3tc="res://.godot/imported/gfolfball.png-4fde775993c78b86828199273dc9e4be.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/textures/gfolfball/gfolfball.png" +dest_files=["res://.godot/imported/gfolfball.png-4fde775993c78b86828199273dc9e4be.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/assets/textures/gfolfball/gfolfball_normal.png b/assets/textures/gfolfball/gfolfball_normal.png new file mode 100644 index 0000000..c8d0386 --- /dev/null +++ b/assets/textures/gfolfball/gfolfball_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b3da2ca839574242f76db87ab649ed3355ada8e293c601bf0a2a0ab4a512e2a +size 18833 diff --git a/assets/textures/gfolfball/gfolfball_normal.png.import b/assets/textures/gfolfball/gfolfball_normal.png.import new file mode 100644 index 0000000..c8c9bdd --- /dev/null +++ b/assets/textures/gfolfball/gfolfball_normal.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btntjs7mbdigu" +path.s3tc="res://.godot/imported/gfolfball_normal.png-d9cc0e700a9a63c2e2cea72beebc6133.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/textures/gfolfball/gfolfball_normal.png" +dest_files=["res://.godot/imported/gfolfball_normal.png-d9cc0e700a9a63c2e2cea72beebc6133.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://assets/textures/gfolfball/gfolfball_normal.png" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/src/player/physics_ball/physics_ball.tscn b/src/player/physics_ball/physics_ball.tscn index 75b3ef7..c7c01b4 100644 --- a/src/player/physics_ball/physics_ball.tscn +++ b/src/player/physics_ball/physics_ball.tscn @@ -1,58 +1,25 @@ -[gd_scene load_steps=12 format=3 uid="uid://dfttci386ohip"] +[gd_scene load_steps=7 format=3 uid="uid://dfttci386ohip"] + +[ext_resource type="Texture2D" uid="uid://ckhiq6rfjv63u" path="res://assets/textures/gfolfball/gfolfball.png" id="1_y3q5j"] +[ext_resource type="Texture2D" uid="uid://btntjs7mbdigu" path="res://assets/textures/gfolfball/gfolfball_normal.png" id="2_mx7l6"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2gatw"] bounce = 0.5 -[sub_resource type="Gradient" id="Gradient_66vtd"] -offsets = PackedFloat32Array(0, 0.213823) - -[sub_resource type="FastNoiseLite" id="FastNoiseLite_p7iuu"] -noise_type = 2 -frequency = 0.06 - -[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_wcxf4"] -width = 1024 -seamless = true -color_ramp = SubResource("Gradient_66vtd") -noise = SubResource("FastNoiseLite_p7iuu") - -[sub_resource type="FastNoiseLite" id="FastNoiseLite_lplu7"] -noise_type = 2 -frequency = 0.06 -fractal_type = 2 -fractal_lacunarity = 1.0 -fractal_weighted_strength = 1.0 - -[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rvc1j"] -width = 1024 -seamless = true -as_normal_map = true -noise = SubResource("FastNoiseLite_lplu7") - -[sub_resource type="FastNoiseLite" id="FastNoiseLite_3hdir"] -noise_type = 2 -frequency = 0.06 -fractal_type = 2 -fractal_lacunarity = 1.0 -fractal_weighted_strength = 1.0 - -[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_lb1l7"] -width = 1024 -invert = true -seamless = true -noise = SubResource("FastNoiseLite_3hdir") - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bhmcr"] -albedo_texture = SubResource("NoiseTexture2D_wcxf4") +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xqofq"] +albedo_texture = ExtResource("1_y3q5j") +albedo_texture_force_srgb = true metallic = 0.27 -roughness = 0.4 -roughness_texture = SubResource("NoiseTexture2D_lb1l7") +roughness = 0.67 normal_enabled = true -normal_texture = SubResource("NoiseTexture2D_rvc1j") +normal_scale = 0.2 +normal_texture = ExtResource("2_mx7l6") clearcoat_roughness = 0.0 +uv1_scale = Vector3(3, 1.5, 3) +texture_filter = 4 -[sub_resource type="SphereMesh" id="SphereMesh_l3o3t"] -material = SubResource("StandardMaterial3D_bhmcr") +[sub_resource type="SphereMesh" id="SphereMesh_y0d13"] +material = SubResource("StandardMaterial3D_xqofq") radius = 0.05 height = 0.1 radial_segments = 6 @@ -69,7 +36,7 @@ continuous_cd = true linear_damp_mode = 1 [node name="BallMesh" type="MeshInstance3D" parent="."] -mesh = SubResource("SphereMesh_l3o3t") +mesh = SubResource("SphereMesh_y0d13") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("SphereShape3D_0hvq6")