Golf ball materials

This commit is contained in:
Rob Kelly 2024-11-03 10:07:21 -07:00
parent d3ef8f445e
commit 29187d4f4d
6 changed files with 91 additions and 48 deletions

BIN
asset_dev/gfolfball.xcf Normal file

Binary file not shown.

BIN
assets/textures/gfolfball/gfolfball.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -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

BIN
assets/textures/gfolfball/gfolfball_normal.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -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

View File

@ -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")