Adding wind animation shader for microvegetation
This commit is contained in:
parent
229bd51674
commit
952a67ff59
15 changed files with 534 additions and 77 deletions
35
maps/materials/microvegetation_aa.tres
Normal file
35
maps/materials/microvegetation_aa.tres
Normal file
|
@ -0,0 +1,35 @@
|
|||
[gd_resource type="ShaderMaterial" load_steps=5 format=3 uid="uid://wo61a5d3t1d4"]
|
||||
|
||||
[ext_resource type="Shader" path="res://maps/shaders/micro_vegetation_aa.gdshader" id="1_ywck6"]
|
||||
[ext_resource type="Texture2D" uid="uid://cehbwyp8bn5gs" path="res://maps/textures/microvegetation_ab/microvegetation_ab_basecolor.png" id="2_mkmwg"]
|
||||
[ext_resource type="Texture2D" uid="uid://c71frnwn0tsrc" path="res://maps/textures/microvegetation_ab/microvegetation_ab_normal.png" id="3_6uywa"]
|
||||
[ext_resource type="Texture2D" uid="uid://djk4q6if4q1xv" path="res://maps/textures/microvegetation_ab/microvegetation_ab_roughness.png" id="4_57qui"]
|
||||
|
||||
[resource]
|
||||
resource_name = "micro_vegetation_aa"
|
||||
render_priority = 0
|
||||
shader = ExtResource( "1_ywck6" )
|
||||
shader_param/albedo = Color(1, 1, 1, 1)
|
||||
shader_param/point_size = 1.0
|
||||
shader_param/roughness = 1.0
|
||||
shader_param/metallic_texture_channel = Plane(0, 0, 1, 0)
|
||||
shader_param/roughness_texture_channel = null
|
||||
shader_param/alpha_scissor_threshold = 0.936
|
||||
shader_param/specular = 0.5
|
||||
shader_param/metallic = 0.0
|
||||
shader_param/normal_scale = 1.0
|
||||
shader_param/speed = 1.0
|
||||
shader_param/minStrength = 0.139
|
||||
shader_param/maxStrength = 0.187
|
||||
shader_param/interval = 3.5
|
||||
shader_param/detail = 1.0
|
||||
shader_param/distortion = 0.0
|
||||
shader_param/direction = Vector2(1, 0)
|
||||
shader_param/heightOffset = 0.107
|
||||
shader_param/uv1_scale = Vector3(1, 1, 1)
|
||||
shader_param/uv1_offset = Vector3(0, 0, 0)
|
||||
shader_param/uv2_scale = Vector3(1, 1, 1)
|
||||
shader_param/uv2_offset = Vector3(0, 0, 0)
|
||||
shader_param/texture_albedo = ExtResource( "2_mkmwg" )
|
||||
shader_param/texture_roughness = ExtResource( "4_57qui" )
|
||||
shader_param/texture_normal = ExtResource( "3_6uywa" )
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
[ext_resource type="ArrayMesh" uid="uid://b8f4324steqdg" path="res://maps/meshes/import/microvegetation_ab.tres" id="3_jlgjw"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://b6stmobs8wx0l" path="res://maps/meshes/import/microvegetation_ab_01.tres" id="4_pr7ho"]
|
||||
[ext_resource type="PackedScene" uid="uid://8aljdwbvgxr4" path="res://maps/objects/tree_aa.tscn" id="5_tjsaf"]
|
||||
[ext_resource type="StreamTexture3D" uid="uid://mnqonf3lhid4" path="res://maps/textures/ta-brumes-02_01.png" id="6_osvcv"]
|
||||
[ext_resource type="CompressedTexture3D" uid="uid://mnqonf3lhid4" path="res://maps/textures/ta-brumes-02_01.png" id="6_osvcv"]
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_cbf1j"]
|
||||
material = ExtResource( "1_m0t8b" )
|
||||
|
|
BIN
maps/textures/base_ground_aa_01/microvegetation_ab_basecolor.png
Normal file
BIN
maps/textures/base_ground_aa_01/microvegetation_ab_basecolor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 517 KiB |
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxhhxmwe28210"
|
||||
path="res://.godot/imported/microvegetation_ab_basecolor.png-09f55de7fd0d6a5aa8c4d023a25abd04.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://maps/textures/base_ground_aa_01/microvegetation_ab_basecolor.png"
|
||||
dest_files=["res://.godot/imported/microvegetation_ab_basecolor.png-09f55de7fd0d6a5aa8c4d023a25abd04.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
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/size_limit=0
|
||||
detect_3d/compress_to=1
|
Binary file not shown.
After Width: | Height: | Size: 510 KiB |
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bfjiabhhr0xmc"
|
||||
path.s3tc="res://.godot/imported/microvegetation_ab_basecolor+alpha.png-75260949d8c3129f6ed360e35b71a818.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/microvegetation_ab_basecolor+alpha.png-75260949d8c3129f6ed360e35b71a818.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc", "etc2"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://maps/textures/microvegetation_ab/microvegetation_ab_basecolor+alpha.png"
|
||||
dest_files=["res://.godot/imported/microvegetation_ab_basecolor+alpha.png-75260949d8c3129f6ed360e35b71a818.s3tc.ctex", "res://.godot/imported/microvegetation_ab_basecolor+alpha.png-75260949d8c3129f6ed360e35b71a818.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
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/size_limit=0
|
||||
detect_3d/compress_to=0
|
BIN
maps/textures/microvegetation_ab/microvegetation_ab_height.png
Normal file
BIN
maps/textures/microvegetation_ab/microvegetation_ab_height.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bbertcb2lt6p5"
|
||||
path="res://.godot/imported/microvegetation_ab_height.png-384d7241539ec91b50940b165fe7f1e5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://maps/textures/microvegetation_ab/microvegetation_ab_height.png"
|
||||
dest_files=["res://.godot/imported/microvegetation_ab_height.png-384d7241539ec91b50940b165fe7f1e5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
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/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
maps/textures/microvegetation_ab/microvegetation_ab_normal.png
Normal file
BIN
maps/textures/microvegetation_ab/microvegetation_ab_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 329 KiB |
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c71frnwn0tsrc"
|
||||
path.s3tc="res://.godot/imported/microvegetation_ab_normal.png-1a2ddc973b1a01e8a8f675c413386310.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/microvegetation_ab_normal.png-1a2ddc973b1a01e8a8f675c413386310.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc", "etc2"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://maps/textures/microvegetation_ab/microvegetation_ab_normal.png"
|
||||
dest_files=["res://.godot/imported/microvegetation_ab_normal.png-1a2ddc973b1a01e8a8f675c413386310.s3tc.ctex", "res://.godot/imported/microvegetation_ab_normal.png-1a2ddc973b1a01e8a8f675c413386310.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://maps/textures/microvegetation_ab/microvegetation_ab_normal.png"
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djk4q6if4q1xv"
|
||||
path.s3tc="res://.godot/imported/microvegetation_ab_roughness.png-0dc5380dcbc69e720e40128d83067b82.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/microvegetation_ab_roughness.png-0dc5380dcbc69e720e40128d83067b82.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc", "etc2"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://maps/textures/microvegetation_ab/microvegetation_ab_roughness.png"
|
||||
dest_files=["res://.godot/imported/microvegetation_ab_roughness.png-0dc5380dcbc69e720e40128d83067b82.s3tc.ctex", "res://.godot/imported/microvegetation_ab_roughness.png-0dc5380dcbc69e720e40128d83067b82.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
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/size_limit=0
|
||||
detect_3d/compress_to=0
|
Loading…
Reference in a new issue