Grass Update

This commit is contained in:
Josef 2025-07-18 14:35:12 +02:00
commit 6e57c7ec76
23 changed files with 920 additions and 0 deletions

4
.editorconfig Normal file
View File

@ -0,0 +1,4 @@
root = true
[*]
charset = utf-8

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# Godot 4+ specific ignores
.godot/
/android/
/.rokojori/cache/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "addons/rokojori_action_library"]
path = addons/rokojori_action_library
url = git@community.rokojori.com:Rokojori/rj-action-library.git

0
.rokojori/.gdignore Normal file
View File

View File

7
Example Grass.csproj Normal file
View File

@ -0,0 +1,7 @@
<Project Sdk="Godot.NET.Sdk/4.4.0">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>ExampleGrass</RootNamespace>
</PropertyGroup>
</Project>

19
Example Grass.sln Normal file
View File

@ -0,0 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example Grass", "Example Grass.csproj", "{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
ExportDebug|Any CPU = ExportDebug|Any CPU
ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{E27E6F3E-3D8F-4CD9-B99F-4463F500BA36}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
EndGlobalSection
EndGlobal

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5126,"count":424,"max":[0.316367745399475,0.559953451156616,0.317400842905045],"min":[-0.239779025316238,-0.0536347329616547,-0.211644262075424],"normalized":false,"type":"VEC3"},{"bufferView":1,"byteOffset":0,"componentType":5126,"count":424,"max":[1.0,0.587222516536713,0.983822584152222,1.0],"min":[-0.999376475811005,-0.859642207622528,-0.981514573097229,-1.0],"normalized":false,"type":"VEC4"},{"bufferView":2,"byteOffset":0,"componentType":5126,"count":424,"max":[0.913378298282623,0.950878381729126,0.815807223320007],"min":[-0.845276474952698,0.309518218040466,-0.941326677799225],"normalized":false,"type":"VEC3"},{"bufferView":3,"byteOffset":0,"componentType":5126,"count":424,"max":[0.975580811500549,1.0],"min":[0.0220437739044428,0.0],"normalized":false,"type":"VEC2"},{"bufferView":4,"byteOffset":0,"componentType":5123,"count":972,"max":[423.0],"min":[0.0],"normalized":false,"type":"SCALAR"}],"asset":{"generator":"Godot Engine v4.4.stable.mono.official@4c311cbee68c0b66ff8ebb8b0defdd9979dd2a41","version":"2.0"},"bufferViews":[{"buffer":0,"byteLength":5088,"byteOffset":0,"byteStride":12,"target":34962},{"buffer":0,"byteLength":6784,"byteOffset":5088,"byteStride":16,"target":34962},{"buffer":0,"byteLength":5088,"byteOffset":11872,"byteStride":12,"target":34962},{"buffer":0,"byteLength":3392,"byteOffset":16960,"byteStride":8,"target":34962},{"buffer":0,"byteLength":1944,"byteOffset":20352,"target":34963}],"buffers":[{"byteLength":22296,"uri":"My-Grass0.bin"}],"extensionsUsed":["GODOT_single_root"],"images":[{"uri":"textures%2F_albedo000.png"},{"uri":"textures%2F_orm000.png"},{"uri":"textures%2F_normal000.png"}],"materials":[{"extensions":{},"normalTexture":{"index":2,"scale":1.0},"occlusionTexture":{"index":1},"pbrMetallicRoughness":{"baseColorFactor":[1.0,1.0,1.0,1.0],"baseColorTexture":{"index":0},"metallicFactor":0.0,"metallicRoughnessTexture":{"index":1},"roughnessFactor":1.0}}],"meshes":[{"extras":{"targetNames":[]},"primitives":[{"attributes":{"NORMAL":2,"POSITION":0,"TANGENT":1,"TEXCOORD_0":3},"indices":4,"material":0,"mode":4}]}],"nodes":[{"mesh":0,"name":"MeshInstance3D"}],"samplers":[{"magFilter":9729,"minFilter":9987,"wrapS":10497,"wrapT":10497}],"scene":0,"scenes":[{"nodes":[0]}],"textures":[{"sampler":0,"source":0},{"sampler":0,"source":1},{"sampler":0,"source":2}]}

View File

@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://d0ht06qcbv8qv"
path="res://.godot/imported/My-Grass.gltf-3300b1f12b2b21068161b0e279d34c90.scn"
[deps]
source_file="res://Example Grass/My-Grass/My-Grass.gltf"
dest_files=["res://.godot/imported/My-Grass.gltf-3300b1f12b2b21068161b0e279d34c90.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxvk0k61mbqjw"
path.s3tc="res://.godot/imported/_albedo000.png-3fc6f5bf7893790db5a3b2a266dfca4d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Example Grass/My-Grass/textures/_albedo000.png"
dest_files=["res://.godot/imported/_albedo000.png-3fc6f5bf7893790db5a3b2a266dfca4d.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c0owtr1qc1gvr"
path.s3tc="res://.godot/imported/_normal000.png-e3dd827ee9361bea286f98a60f9ce740.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Example Grass/My-Grass/textures/_normal000.png"
dest_files=["res://.godot/imported/_normal000.png-e3dd827ee9361bea286f98a60f9ce740.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Example Grass/My-Grass/textures/_normal000.png"
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b76s1pt2svfh1"
path.s3tc="res://.godot/imported/_orm000.png-129ec75a50c9c3568660f9354127bf07.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Example Grass/My-Grass/textures/_orm000.png"
dest_files=["res://.godot/imported/_orm000.png-129ec75a50c9c3568660f9354127bf07.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=8
roughness/src_normal="res://Example Grass/My-Grass/textures/_normal000.png"
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

BIN
Example Grass/Sky.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bs16srd4audv6"
path.s3tc="res://.godot/imported/Sky.jpg-5122922b48b0cdd913ea92e678e0d9bc.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Example Grass/Sky.jpg"
dest_files=["res://.godot/imported/Sky.jpg-5122922b48b0cdd913ea92e678e0d9bc.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

@ -0,0 +1 @@
Subproject commit 82faa6c117353fb714fb4610ebf14b9a679c130d

1
icon.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>

After

Width:  |  Height:  |  Size: 994 B

37
icon.svg.import Normal file
View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://brxisot6kr7rr"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

39
project.godot Normal file
View File

@ -0,0 +1,39 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Example Grass"
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
RokojoriRootAutoLoad="*res://addons/rokojori_action_library/Runtime/Godot/Root.cs"
[dotnet]
project/assembly_name="Example Grass"
[editor_plugins]
enabled=PackedStringArray("res://addons/rokojori_action_library/plugin.cfg")
[rendering]
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=5
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=5
environment/ssao/quality=4
environment/ssao/half_size=false
environment/ssao/blur_passes=3
anti_aliasing/quality/msaa_2d=3
anti_aliasing/quality/msaa_3d=3
environment/subsurface_scattering/subsurface_scattering_quality=3
anti_aliasing/quality/screen_space_aa=1