Skip to content

Commit

Permalink
Revert "ignoring non essential files"
Browse files Browse the repository at this point in the history
This reverts commit 227682d.
  • Loading branch information
betalars committed Jan 18, 2024
1 parent 66b7484 commit e709b3f
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,3 @@ export_presets.cfg

# Mono-specific ignores
.mono/

# Ignoring Project Files
main.tscn
default_env.tres
project.godot
18 changes: 18 additions & 0 deletions default_env.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[gd_resource type="Environment" load_steps=2 format=2]

[sub_resource type="ProceduralSky" id=1]
radiance_size = 4
sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
sky_curve = 0.25
ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
ground_curve = 0.01
sun_energy = 16.0

[resource]
background_mode = 2
background_sky = SubResource( 1 )
fog_height_min = 0.0
fog_height_max = 100.0
ssao_quality = 0
21 changes: 21 additions & 0 deletions main.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[gd_scene load_steps=5 format=3 uid="uid://03quolqd33yr"]

[ext_resource type="Texture2D" uid="uid://mblnkohmbep2" path="res://line.png" id="1_f0p7k"]
[ext_resource type="Script" path="res://addons/LineRenderer/line_renderer.gd" id="2_c14b5"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r4qrb"]
albedo_texture = ExtResource("1_f0p7k")

[sub_resource type="ArrayMesh" id="ArrayMesh_c4ena"]

[node name="Node3D" type="Node3D"]

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_r4qrb")
mesh = SubResource("ArrayMesh_c4ena")
script = ExtResource("2_c14b5")
startThickness = 1.0
endThickness = 1.0

[node name="Camera3D" type="Camera3D" parent="MeshInstance3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.31369)
20 changes: 20 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[application]

config/name="LineRenderer Demo"
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.2")
config/icon="res://icon.png"

[rendering]

environment/default_environment="res://default_env.tres"

0 comments on commit e709b3f

Please sign in to comment.