Skip to content

Commit 8733161

Browse files
committed
squeeze performance
1 parent f6b314d commit 8733161

40 files changed

+157
-9
lines changed

src/Night1.exr

32.2 KB
Binary file not shown.

src/Night1.lmbake

-5.1 KB
Binary file not shown.

src/Night1.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[gd_scene load_steps=18 format=3 uid="uid://d1o4lkpnxtmdh"]
22

33
[ext_resource type="PackedScene" uid="uid://dmhe5g6euql60" path="res://player/Player.tscn" id="1_jnati"]
4-
[ext_resource type="Script" path="res://player/phone/Phone.cs" id="2_s44sq"]
4+
[ext_resource type="Script" uid="uid://ba5ia4wbr0j2i" path="res://player/phone/Phone.cs" id="2_s44sq"]
55
[ext_resource type="PackedScene" uid="uid://clt1sfs0wbkeo" path="res://player/phone/iphone_x_lowpoly.glb" id="3_i2n8j"]
66
[ext_resource type="Material" uid="uid://bwn12igadl8cf" path="res://player/phone/PhoneTex.tres" id="4_mxk25"]
77
[ext_resource type="Material" uid="uid://dqug2ykuis3fh" path="res://player/phone/ui/FlashlightIcon.tres" id="5_awy5n"]
@@ -52,7 +52,7 @@ environment = SubResource("Environment_bjlio")
5252

5353
[node name="Player" parent="." node_paths=PackedStringArray("cameras") instance=ExtResource("1_jnati")]
5454
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 12.7964, 2.71448)
55-
cameras = [NodePath("Camera"), NodePath("../RicardoBedroom/RicCam"), NodePath("../SimaoBedroom/SimCam")]
55+
cameras = []
5656

5757
[node name="Phone" type="Node3D" parent="Player"]
5858
transform = Transform3D(1, 8.58606e-07, 5.96046e-08, 7.45058e-07, 1, 1.19209e-07, 3.27826e-07, 4.29861e-07, 0.999999, 0.0793167, -0.0236454, -0.156882)

src/chair/chair.glb.import

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ nodes/root_name=""
1818
nodes/apply_root_scale=true
1919
nodes/root_scale=1.0
2020
nodes/import_as_skeleton_bones=false
21+
nodes/use_node_type_suffixes=true
2122
meshes/ensure_tangents=true
2223
meshes/generate_lods=true
2324
meshes/create_shadow_meshes=true

src/gabrielzzzgodot.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Godot.NET.Sdk/4.3.0">
1+
<Project Sdk="Godot.NET.Sdk/4.4.0-dev.5">
22
<PropertyGroup>
33
<TargetFramework>net6.0</TargetFramework>
44
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>

src/gabrielzzzgodot.csproj.old.2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project Sdk="Godot.NET.Sdk/4.3.0">
2+
<PropertyGroup>
3+
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
5+
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
6+
<EnableDynamicLoading>true</EnableDynamicLoading>
7+
</PropertyGroup>
8+
</Project>

src/glass/glass_mat.tres

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ noise = SubResource("FastNoiseLite_onxod")
2323
render_priority = 0
2424
shader = ExtResource("1_ax7of")
2525
shader_parameter/noise_strenght = 0.005
26+
shader_parameter/noise_texture = SubResource("NoiseTexture2D_b1mqy")
2627
shader_parameter/tint_color = Color(1, 1, 1, 1)
2728
shader_parameter/roughness = 0.0
28-
shader_parameter/normal_strenght = 0.0
29-
shader_parameter/noise_texture = SubResource("NoiseTexture2D_b1mqy")
3029
shader_parameter/Normal = SubResource("NoiseTexture2D_8reij")
30+
shader_parameter/normal_strenght = 0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uid://b5xph640a26va

src/glass/glass_shader_vs.tres

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ op_type = 2
9494
code = "shader_type spatial;
9595
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
9696

97-
uniform float noise_strenght : hint_range(0, 0.05000000074506) = 0.00499999988824;
97+
uniform float noise_strenght : hint_range(0.0, 0.05000000074506) = 0.00499999988824;
9898
uniform sampler2D noise_texture : repeat_enable;
9999
uniform sampler2D screen_tex_frg_7 : hint_screen_texture;
100100
uniform vec4 tint_color : source_color = vec4(0.443137, 0.368627, 1.000000, 0.611765);
101-
uniform float roughness : hint_range(0, 1) = 0;
101+
uniform float roughness : hint_range(0.0, 1.0) = 0.0;
102102
uniform sampler2D Normal : hint_normal;
103-
uniform float normal_strenght : hint_range(-1, 1) = 0;
103+
uniform float normal_strenght : hint_range(-1.0, 1.0) = 0.0;
104104

105105

106106

src/office/bottle/water_bottles.glb.import

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ nodes/root_name=""
1818
nodes/apply_root_scale=true
1919
nodes/root_scale=1.0
2020
nodes/import_as_skeleton_bones=false
21+
nodes/use_node_type_suffixes=true
2122
meshes/ensure_tangents=true
2223
meshes/generate_lods=true
2324
meshes/create_shadow_meshes=true

0 commit comments

Comments
 (0)