Compare commits
No commits in common. '7cab61de504af0ef19df33b84db590a92a579f81' and '397b9ac2d54aa7a181190a398c3c0e93d95b7de8' have entirely different histories.
7cab61de50
...
397b9ac2d5
11 changed files with 122 additions and 56 deletions
@ -1,14 +1,35 @@ |
||||
[remap] |
||||
|
||||
importer="image" |
||||
type="Image" |
||||
importer="texture" |
||||
type="CompressedTexture2D" |
||||
uid="uid://bpo7mkr6sctqr" |
||||
path="res://.godot/imported/dirt.png-67313fa97fa5b9369bec725f203ba6a9.image" |
||||
path.s3tc="res://.godot/imported/dirt.png-67313fa97fa5b9369bec725f203ba6a9.s3tc.ctex" |
||||
metadata={ |
||||
"imported_formats": ["s3tc_bptc"], |
||||
"vram_texture": true |
||||
} |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/textures/terrain/dirt.png" |
||||
dest_files=["res://.godot/imported/dirt.png-67313fa97fa5b9369bec725f203ba6a9.image"] |
||||
dest_files=["res://.godot/imported/dirt.png-67313fa97fa5b9369bec725f203ba6a9.s3tc.ctex"] |
||||
|
||||
[params] |
||||
|
||||
compress/mode=2 |
||||
compress/high_quality=false |
||||
compress/lossy_quality=0.7 |
||||
compress/hdr_compression=1 |
||||
compress/normal_map=0 |
||||
compress/channel_pack=0 |
||||
mipmaps/generate=true |
||||
mipmaps/limit=-1 |
||||
roughness/mode=0 |
||||
roughness/src_normal="" |
||||
process/fix_alpha_border=true |
||||
process/premult_alpha=false |
||||
process/normal_map_invert_y=false |
||||
process/hdr_as_srgb=false |
||||
process/hdr_clamp_exposure=false |
||||
process/size_limit=0 |
||||
detect_3d/compress_to=0 |
||||
|
@ -1,14 +1,35 @@ |
||||
[remap] |
||||
|
||||
importer="image" |
||||
type="Image" |
||||
importer="texture" |
||||
type="CompressedTexture2D" |
||||
uid="uid://b0jp1dyxugbr7" |
||||
path="res://.godot/imported/grass.png-aff98023336e7c812cce14c63596cfa6.image" |
||||
path.s3tc="res://.godot/imported/grass.png-aff98023336e7c812cce14c63596cfa6.s3tc.ctex" |
||||
metadata={ |
||||
"imported_formats": ["s3tc_bptc"], |
||||
"vram_texture": true |
||||
} |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/textures/terrain/grass.png" |
||||
dest_files=["res://.godot/imported/grass.png-aff98023336e7c812cce14c63596cfa6.image"] |
||||
dest_files=["res://.godot/imported/grass.png-aff98023336e7c812cce14c63596cfa6.s3tc.ctex"] |
||||
|
||||
[params] |
||||
|
||||
compress/mode=2 |
||||
compress/high_quality=false |
||||
compress/lossy_quality=0.7 |
||||
compress/hdr_compression=1 |
||||
compress/normal_map=0 |
||||
compress/channel_pack=0 |
||||
mipmaps/generate=true |
||||
mipmaps/limit=-1 |
||||
roughness/mode=0 |
||||
roughness/src_normal="" |
||||
process/fix_alpha_border=true |
||||
process/premult_alpha=false |
||||
process/normal_map_invert_y=false |
||||
process/hdr_as_srgb=false |
||||
process/hdr_clamp_exposure=false |
||||
process/size_limit=0 |
||||
detect_3d/compress_to=0 |
||||
|
@ -1,14 +1,35 @@ |
||||
[remap] |
||||
|
||||
importer="image" |
||||
type="Image" |
||||
importer="texture" |
||||
type="CompressedTexture2D" |
||||
uid="uid://dqyqg6yt7yk3k" |
||||
path="res://.godot/imported/rock.png-6fd2e985e4c17866aa31a92f6096a3ad.image" |
||||
path.s3tc="res://.godot/imported/rock.png-6fd2e985e4c17866aa31a92f6096a3ad.s3tc.ctex" |
||||
metadata={ |
||||
"imported_formats": ["s3tc_bptc"], |
||||
"vram_texture": true |
||||
} |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/textures/terrain/rock.png" |
||||
dest_files=["res://.godot/imported/rock.png-6fd2e985e4c17866aa31a92f6096a3ad.image"] |
||||
dest_files=["res://.godot/imported/rock.png-6fd2e985e4c17866aa31a92f6096a3ad.s3tc.ctex"] |
||||
|
||||
[params] |
||||
|
||||
compress/mode=2 |
||||
compress/high_quality=false |
||||
compress/lossy_quality=0.7 |
||||
compress/hdr_compression=1 |
||||
compress/normal_map=0 |
||||
compress/channel_pack=0 |
||||
mipmaps/generate=true |
||||
mipmaps/limit=-1 |
||||
roughness/mode=0 |
||||
roughness/src_normal="" |
||||
process/fix_alpha_border=true |
||||
process/premult_alpha=false |
||||
process/normal_map_invert_y=false |
||||
process/hdr_as_srgb=false |
||||
process/hdr_clamp_exposure=false |
||||
process/size_limit=0 |
||||
detect_3d/compress_to=0 |
||||
|
@ -1,14 +1,35 @@ |
||||
[remap] |
||||
|
||||
importer="image" |
||||
type="Image" |
||||
importer="texture" |
||||
type="CompressedTexture2D" |
||||
uid="uid://bkwjxg6g2itag" |
||||
path="res://.godot/imported/sand.png-451c9e51968306b5331529d9113b3e49.image" |
||||
path.s3tc="res://.godot/imported/sand.png-451c9e51968306b5331529d9113b3e49.s3tc.ctex" |
||||
metadata={ |
||||
"imported_formats": ["s3tc_bptc"], |
||||
"vram_texture": true |
||||
} |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/textures/terrain/sand.png" |
||||
dest_files=["res://.godot/imported/sand.png-451c9e51968306b5331529d9113b3e49.image"] |
||||
dest_files=["res://.godot/imported/sand.png-451c9e51968306b5331529d9113b3e49.s3tc.ctex"] |
||||
|
||||
[params] |
||||
|
||||
compress/mode=2 |
||||
compress/high_quality=false |
||||
compress/lossy_quality=0.7 |
||||
compress/hdr_compression=1 |
||||
compress/normal_map=0 |
||||
compress/channel_pack=0 |
||||
mipmaps/generate=true |
||||
mipmaps/limit=-1 |
||||
roughness/mode=0 |
||||
roughness/src_normal="" |
||||
process/fix_alpha_border=true |
||||
process/premult_alpha=false |
||||
process/normal_map_invert_y=false |
||||
process/hdr_as_srgb=false |
||||
process/hdr_clamp_exposure=false |
||||
process/size_limit=0 |
||||
detect_3d/compress_to=0 |
||||
|
@ -1,15 +0,0 @@ |
||||
[gd_resource type="ShaderMaterial" load_steps=7 format=4 uid="uid://doe8owgx4jeu1"] |
||||
|
||||
[ext_resource type="Shader" path="res://terrain/terrain_shader.gdshader" id="1_mf55c"] |
||||
[ext_resource type="Image" uid="uid://b0jp1dyxugbr7" path="res://assets/textures/terrain/grass.png" id="5_mau31"] |
||||
[ext_resource type="Image" uid="uid://bpo7mkr6sctqr" path="res://assets/textures/terrain/dirt.png" id="6_xc3ue"] |
||||
[ext_resource type="Image" uid="uid://dqyqg6yt7yk3k" path="res://assets/textures/terrain/rock.png" id="7_84wdo"] |
||||
[ext_resource type="Image" uid="uid://bkwjxg6g2itag" path="res://assets/textures/terrain/sand.png" id="8_3fpcn"] |
||||
|
||||
[sub_resource type="Texture2DArray" id="Texture2DArray_3nq13"] |
||||
_images = Array[Image]([ExtResource("5_mau31"), ExtResource("6_xc3ue"), ExtResource("7_84wdo"), ExtResource("8_3fpcn")]) |
||||
|
||||
[resource] |
||||
render_priority = 0 |
||||
shader = ExtResource("1_mf55c") |
||||
shader_parameter/textures = SubResource("Texture2DArray_3nq13") |
@ -1,12 +0,0 @@ |
||||
shader_type spatial; |
||||
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_burley, specular_schlick_ggx; |
||||
|
||||
uniform sampler2DArray textures : source_color, filter_linear_mipmap, repeat_enable; |
||||
|
||||
void fragment() { |
||||
ALBEDO = texture(textures, vec3(UV, UV2.x)).rgb; |
||||
|
||||
METALLIC = 0.0; |
||||
SPECULAR = 0.5; |
||||
ROUGHNESS = 1.0; |
||||
} |
Loading…
Reference in new issue