initial biome generation with forest support

This commit is contained in:
Antti Hakkarainen 2023-02-10 17:18:47 +02:00
parent 4d7af7ed69
commit 4030f040b6
10 changed files with 200 additions and 12 deletions

View file

@ -0,0 +1,20 @@
[gd_scene load_steps=3 format=3 uid="uid://d373de88jug8x"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ncuso"]
noise_type = 3
seed = 35
frequency = 0.008
fractal_octaves = 3
fractal_lacunarity = 1.0
fractal_gain = 1.746
fractal_ping_pong_strength = 25.0
domain_warp_fractal_type = 2
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_l3pkr"]
width = 1024
height = 1024
noise = SubResource("FastNoiseLite_ncuso")
[node name="BiomeNoise" type="Sprite2D"]
position = Vector2(528, 520)
texture = SubResource("NoiseTexture2D_l3pkr")

View file

@ -506,7 +506,14 @@ texture = ExtResource("5_bqev6")
2:1/0 = 0
3:1/0 = 0
4:1/0 = 0
5:1/next_alternative_id = 4
5:1/0 = 0
5:1/1 = 1
5:1/1/flip_h = true
5:1/2 = 2
5:1/2/flip_v = true
5:1/3 = 3
5:1/3/transpose = true
6:1/0 = 0
7:1/0 = 0
8:1/0 = 0