This should fix lightmap errors

pull/35/head
Jan Heemstra 2021-03-21 20:42:11 +01:00
parent 38a0cc2622
commit 17e8663e83
4 changed files with 12 additions and 11 deletions

View File

@ -89,8 +89,9 @@ void fragment() {
vec3 n_out4p0 = n_out15p0 * vec3(n_out5p0);
// Fresnel:2
bool n_in2p2 = true;
float n_in2p3 = 0.50000;
float n_out2p0 = pow(clamp(dot(NORMAL, VIEW), 0.0, 1.0), n_in2p3);
float n_out2p0 = n_in2p2 ? (pow(clamp(dot(NORMAL, VIEW), 0.0, 1.0), n_in2p3)) : (pow(1.0 - clamp(dot(NORMAL, VIEW), 0.0, 1.0), n_in2p3));
// ScalarOp:12
float n_in12p1 = 0.50000;

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

File diff suppressed because one or more lines are too long

View File

@ -260,7 +260,6 @@ rect_min_size = Vector2( 500, 500 )
[node name="PlayerList" type="VBoxContainer" parent="PlayerListContainer/Panel"]
alignment = 1
[connection signal="pressed" from="MenuContainer/MainMenu/QuickConnect" to="." method="join_test_server"]
[connection signal="pressed" from="MenuContainer/MainMenu/Connect" to="." method="open_menu" binds= [ "ConnectMenu" ]]
[connection signal="pressed" from="MenuContainer/MainMenu/Disconnect" to="." method="free_client"]