This commit is contained in:
Victor Turgeon 2022-10-12 18:18:25 -04:00
parent f3e2e4040f
commit ac9c03b753
11 changed files with 178 additions and 1 deletions

View File

@ -2,7 +2,7 @@
[ext_resource path="res://Player.gd" type="Script" id=1] [ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2] [ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2]
[ext_resource path="res://Textures/kenney_prototype_textures/purple/texture_01.png" type="Texture" id=3] [ext_resource path="res://Textures/skin-texture-mole-spot-freckles.jpg" type="Texture" id=3]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=4] [ext_resource path="res://HUD.tscn" type="PackedScene" id=4]
[ext_resource path="res://Audio/whoosh.wav" type="AudioStream" id=5] [ext_resource path="res://Audio/whoosh.wav" type="AudioStream" id=5]
[ext_resource path="res://Materials/Black_Contour.tres" type="Material" id=6] [ext_resource path="res://Materials/Black_Contour.tres" type="Material" id=6]
@ -24,8 +24,11 @@ extents = Vector3( 0.983522, 2, 1.55035 )
[sub_resource type="SpatialMaterial" id=4] [sub_resource type="SpatialMaterial" id=4]
render_priority = 2 render_priority = 2
next_pass = ExtResource( 6 ) next_pass = ExtResource( 6 )
flags_unshaded = true
flags_no_depth_test = true flags_no_depth_test = true
albedo_color = Color( 0.952941, 0.835294, 0.647059, 1 )
albedo_texture = ExtResource( 3 ) albedo_texture = ExtResource( 3 )
uv1_scale = Vector3( 1.735, 1.992, 0.318 )
uv1_triplanar = true uv1_triplanar = true
[sub_resource type="Animation" id=5] [sub_resource type="Animation" id=5]

26
Scenes/Eye.tscn Normal file
View File

@ -0,0 +1,26 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Textures/Custom/Eye_NormalMap.png" type="Texture" id=1]
[ext_resource path="res://Textures/Custom/Eye_Albedo.png" type="Texture" id=2]
[sub_resource type="SphereMesh" id=1]
[sub_resource type="SpatialMaterial" id=2]
albedo_texture = ExtResource( 2 )
metallic_specular = 0.0
roughness = 0.84
roughness_texture_channel = 2
normal_enabled = true
normal_scale = 6.45
normal_texture = ExtResource( 1 )
clearcoat_enabled = true
clearcoat = 0.37
clearcoat_gloss = 1.0
uv1_scale = Vector3( 2, 1, 1 )
[node name="Eye" type="Spatial"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 1 )
material/0 = SubResource( 2 )

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Eye_Albedo.png-9e6b7c6b1ed6e9cf683bf1ae93e431bb.s3tc.stex"
path.etc2="res://.import/Eye_Albedo.png-9e6b7c6b1ed6e9cf683bf1ae93e431bb.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Textures/Custom/Eye_Albedo.png"
dest_files=[ "res://.import/Eye_Albedo.png-9e6b7c6b1ed6e9cf683bf1ae93e431bb.s3tc.stex", "res://.import/Eye_Albedo.png-9e6b7c6b1ed6e9cf683bf1ae93e431bb.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Eye_NormalMap.png-8db9765e5c9fe487ccc26795ca2a1c6b.s3tc.stex"
path.etc2="res://.import/Eye_NormalMap.png-8db9765e5c9fe487ccc26795ca2a1c6b.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Textures/Custom/Eye_NormalMap.png"
dest_files=[ "res://.import/Eye_NormalMap.png-8db9765e5c9fe487ccc26795ca2a1c6b.s3tc.stex", "res://.import/Eye_NormalMap.png-8db9765e5c9fe487ccc26795ca2a1c6b.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/eye-texture.ovxi6q.image.fk0.jpg-cfc67417d71d9a6c4bf00b0dd775db61.s3tc.stex"
path.etc2="res://.import/eye-texture.ovxi6q.image.fk0.jpg-cfc67417d71d9a6c4bf00b0dd775db61.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Textures/eye-texture.ovxi6q.image.fk0.jpg"
dest_files=[ "res://.import/eye-texture.ovxi6q.image.fk0.jpg-cfc67417d71d9a6c4bf00b0dd775db61.s3tc.stex", "res://.import/eye-texture.ovxi6q.image.fk0.jpg-cfc67417d71d9a6c4bf00b0dd775db61.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/skin-texture-mole-spot-freckles.jpg-85a6c866baa79d2444158f4f643f25a1.s3tc.stex"
path.etc2="res://.import/skin-texture-mole-spot-freckles.jpg-85a6c866baa79d2444158f4f643f25a1.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Textures/skin-texture-mole-spot-freckles.jpg"
dest_files=[ "res://.import/skin-texture-mole-spot-freckles.jpg-85a6c866baa79d2444158f4f643f25a1.s3tc.stex", "res://.import/skin-texture-mole-spot-freckles.jpg-85a6c866baa79d2444158f4f643f25a1.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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