tweaked test_titlescreen_planet

rotated planet so that texture seams are less visible, added new material and texture for meat planet render
This commit is contained in:
dukegoobler 2022-12-28 23:01:29 -07:00
parent b797c54f5d
commit 81e5620cc1
15 changed files with 56 additions and 7 deletions

View File

@ -1,3 +1,3 @@
source_md5="744d5e66ca3df1f223fcc036f13bdfc7"
dest_md5="b59224a6276e2e4232e0f40630dfa237"
source_md5="1bbe0a04963e27ba5a40e51bd5c6c81f"
dest_md5="214ef15e700cfe91b619a1d8ae0482fb"

View File

@ -0,0 +1,3 @@
source_md5="d4a5844d71536b7a9b6b9b7811259d4f"
dest_md5="b6de1591e42ebd2f6b026ba23576794d"

BIN
godot/assets/meat_planet_texture.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/meat_planet_texture.png-61c3a90d1549893d98f9f9c99dc65ff2.s3tc.stex"
path.etc2="res://.import/meat_planet_texture.png-61c3a90d1549893d98f9f9c99dc65ff2.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/meat_planet_texture.png"
dest_files=[ "res://.import/meat_planet_texture.png-61c3a90d1549893d98f9f9c99dc65ff2.s3tc.stex", "res://.import/meat_planet_texture.png-61c3a90d1549893d98f9f9c99dc65ff2.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.

BIN
godot/assets/models/Material_002.material (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
godot/assets/models/PlanetMaterial.material (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/models/meat_planet.glb" type="PackedScene" id=1]
[ext_resource path="res://assets/models/Material_002.material" type="Material" id=2]
[ext_resource path="res://assets/models/PlanetMaterial.material" type="Material" id=2]
[ext_resource path="res://assets/models/AnimationPlayer.gd" type="Script" id=3]
[sub_resource type="Animation" id=2]
@ -21,8 +21,10 @@ tracks/0/keys = PoolRealArray( 0, 1, -0.0390858, -0.0390858, 0.0390858, -0.02069
[node name="Sphere" parent="." index="0"]
transform = Transform( 1.94466, -0.236818, -0.0859438, 0.240179, 1.94466, 0.0760474, 0.0760474, -0.0859438, 1.95755, -0.0390858, -0.0390858, 0.0390858 )
material_override = ExtResource( 2 )
material/0 = ExtResource( 2 )
[node name="AnimationPlayer" parent="." index="1"]
autoplay = "SphereAction-loop"
playback_speed = 0.5
anims/SphereAction-loop = SubResource( 2 )
script = ExtResource( 3 )

View File

@ -12,14 +12,15 @@
[node name="test_titlescreen_planet" type="Spatial"]
[node name="Camera" type="Camera" parent="."]
transform = Transform( -0.237171, -0.132924, 0.962331, -0.0204041, 0.991058, 0.131863, -0.971254, 0.0116387, -0.237763, 4.87479, 1.41359, 1.05785 )
transform = Transform( -0.123083, -0.133377, 0.983393, -0.0204041, 0.991058, 0.131863, -0.992187, -0.00383517, -0.124704, 4.63606, 1.41359, 1.05785 )
[node name="meat_planet" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.5, 0, 0, 0, 0.463143, 0.188411, 0, -0.188411, 0.463143, 0.0736001, 0.18823, -0.0757823 )
transform = Transform( -0.0141575, 0.273531, -0.418306, 0.409889, -0.233101, -0.166298, -0.285991, -0.347627, -0.217635, 0.0736001, 0.18823, -0.0757823 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.791944, 0.610549, 0.00734885, -0.405596, 0.517027, 0.753774, 0.456416, -0.599928, 0.657093, 3.25392, 5.38699, -0.264825 )
light_color = Color( 0.317647, 0.0156863, 0.0156863, 1 )
light_energy = 1.5
shadow_enabled = true
[node name="grainy_shader" parent="." instance=ExtResource( 4 )]