mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-15 16:34:48 +00:00
👽 interstellar delivery
This commit is contained in:
parent
547c97bfba
commit
97c8292858
257 changed files with 7309 additions and 4637 deletions
|
|
@ -54,14 +54,14 @@ func start_import(p_value: bool) -> void:
|
|||
var min_max := Vector2(0, 1)
|
||||
var img: Image
|
||||
if height_file_name:
|
||||
img = Terrain3DStorage.load_image(height_file_name, ResourceLoader.CACHE_MODE_IGNORE, r16_range, r16_size)
|
||||
min_max = Terrain3D.get_min_max(img)
|
||||
img = Terrain3DUtil.load_image(height_file_name, ResourceLoader.CACHE_MODE_IGNORE, r16_range, r16_size)
|
||||
min_max = Terrain3DUtil.get_min_max(img)
|
||||
imported_images[Terrain3DStorage.TYPE_HEIGHT] = img
|
||||
if control_file_name:
|
||||
img = Terrain3DStorage.load_image(control_file_name, ResourceLoader.CACHE_MODE_IGNORE)
|
||||
img = Terrain3DUtil.load_image(control_file_name, ResourceLoader.CACHE_MODE_IGNORE)
|
||||
imported_images[Terrain3DStorage.TYPE_CONTROL] = img
|
||||
if color_file_name:
|
||||
img = Terrain3DStorage.load_image(color_file_name, ResourceLoader.CACHE_MODE_IGNORE)
|
||||
img = Terrain3DUtil.load_image(color_file_name, ResourceLoader.CACHE_MODE_IGNORE)
|
||||
imported_images[Terrain3DStorage.TYPE_COLOR] = img
|
||||
if texture_list.get_texture_count() == 0:
|
||||
material.show_checkered = false
|
||||
|
|
|
|||
|
|
@ -1,54 +1,16 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://blaieaqp413k7"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://blaieaqp413k7"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/terrain_3d/tools/importer.gd" id="1_60b8f"]
|
||||
|
||||
[sub_resource type="Terrain3DStorage" id="Terrain3DStorage_5p5ir"]
|
||||
version = 0.842
|
||||
[sub_resource type="Terrain3DStorage" id="Terrain3DStorage_rmuvl"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_5sc5a"]
|
||||
offsets = PackedFloat32Array(0.2, 1)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_lp4p7"]
|
||||
noise_type = 2
|
||||
frequency = 0.03
|
||||
cellular_jitter = 3.0
|
||||
cellular_return_type = 0
|
||||
domain_warp_enabled = true
|
||||
domain_warp_type = 1
|
||||
domain_warp_amplitude = 50.0
|
||||
domain_warp_fractal_type = 2
|
||||
domain_warp_fractal_lacunarity = 1.5
|
||||
domain_warp_fractal_gain = 1.0
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vyjp8"]
|
||||
seamless = true
|
||||
color_ramp = SubResource("Gradient_5sc5a")
|
||||
noise = SubResource("FastNoiseLite_lp4p7")
|
||||
|
||||
[sub_resource type="Terrain3DMaterial" id="Terrain3DMaterial_f0cwi"]
|
||||
_shader_parameters = {
|
||||
"_mouse_layer": 2147483648,
|
||||
"blend_sharpness": null,
|
||||
"height_blending": null,
|
||||
"macro_variation1": null,
|
||||
"macro_variation2": null,
|
||||
"noise1_angle": null,
|
||||
"noise1_offset": null,
|
||||
"noise1_scale": null,
|
||||
"noise2_scale": null,
|
||||
"noise3_scale": null,
|
||||
"noise_texture": SubResource("NoiseTexture2D_vyjp8")
|
||||
}
|
||||
[sub_resource type="Terrain3DMaterial" id="Terrain3DMaterial_cjpaa"]
|
||||
show_checkered = true
|
||||
|
||||
[sub_resource type="Terrain3DTextureList" id="Terrain3DTextureList_4yf1r"]
|
||||
[sub_resource type="Terrain3DTextureList" id="Terrain3DTextureList_yjkn1"]
|
||||
|
||||
[node name="Importer" type="Terrain3D"]
|
||||
storage = SubResource("Terrain3DStorage_5p5ir")
|
||||
material = SubResource("Terrain3DMaterial_f0cwi")
|
||||
texture_list = SubResource("Terrain3DTextureList_4yf1r")
|
||||
storage = SubResource("Terrain3DStorage_rmuvl")
|
||||
material = SubResource("Terrain3DMaterial_cjpaa")
|
||||
texture_list = SubResource("Terrain3DTextureList_yjkn1")
|
||||
script = ExtResource("1_60b8f")
|
||||
import_position = Vector3(-1024, 0, -1024)
|
||||
r16_range = Vector2(0, 250)
|
||||
r16_size = Vector2i(2048, 2048)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue