76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://scenes/WorldChunk.cs" type="Script" id=1]
|
|
[ext_resource path="res://materials/WorldTileTypeMaterial.tres" type="Material" id=2]
|
|
[ext_resource path="res://assets/TestHeightmap.tres" type="Texture" id=3]
|
|
[ext_resource path="res://assets/4x4checkerColor.png" type="Texture" id=4]
|
|
[ext_resource path="res://addons/gdhexgrid/icon.png" type="Texture" id=6]
|
|
|
|
[sub_resource type="CubeMesh" id=27]
|
|
size = Vector3( 1, 1, 1 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=28]
|
|
flags_transparent = true
|
|
albedo_color = Color( 1, 1, 1, 0.501961 )
|
|
albedo_texture = ExtResource( 4 )
|
|
uv1_scale = Vector3( -3, -2, 0 )
|
|
uv1_offset = Vector3( 2, 2, 0 )
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=29]
|
|
blend_mode = 3
|
|
|
|
[sub_resource type="ImageTexture" id=30]
|
|
|
|
[node name="WorldChunk" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Tiles" type="Spatial" parent="."]
|
|
|
|
[node name="Entities" type="Spatial" parent="."]
|
|
|
|
[node name="PlaneRectMesh" type="MeshInstance" parent="."]
|
|
transform = Transform( 2, 0, 0, 0, 0.125, 0, 0, 0, 2, 0, -0.1, 0 )
|
|
visible = false
|
|
mesh = SubResource( 27 )
|
|
material/0 = SubResource( 28 )
|
|
|
|
[node name="HeightmapOffscreenViewport" type="Viewport" parent="."]
|
|
size = Vector2( 50, 50 )
|
|
handle_input_locally = false
|
|
hdr = false
|
|
disable_3d = true
|
|
usage = 0
|
|
render_target_v_flip = true
|
|
render_target_update_mode = 3
|
|
shadow_atlas_quad_0 = 0
|
|
shadow_atlas_quad_1 = 0
|
|
shadow_atlas_quad_2 = 0
|
|
shadow_atlas_quad_3 = 0
|
|
|
|
[node name="NoiseSprite" type="Sprite" parent="HeightmapOffscreenViewport"]
|
|
texture = ExtResource( 6 )
|
|
centered = false
|
|
|
|
[node name="NoiseMask" type="Sprite" parent="HeightmapOffscreenViewport"]
|
|
material = SubResource( 29 )
|
|
texture = SubResource( 30 )
|
|
centered = false
|
|
|
|
[node name="TileTypeOffscreenViewport" type="Viewport" parent="."]
|
|
size = Vector2( 100, 100 )
|
|
handle_input_locally = false
|
|
hdr = false
|
|
disable_3d = true
|
|
usage = 0
|
|
render_target_v_flip = true
|
|
render_target_update_mode = 3
|
|
shadow_atlas_quad_0 = 0
|
|
shadow_atlas_quad_1 = 0
|
|
shadow_atlas_quad_2 = 0
|
|
shadow_atlas_quad_3 = 0
|
|
|
|
[node name="HeightmapSprite" type="Sprite" parent="TileTypeOffscreenViewport"]
|
|
material = ExtResource( 2 )
|
|
texture = ExtResource( 3 )
|
|
centered = false
|