feat: updating forest textures

This commit is contained in:
Sara 2025-05-27 11:22:52 +02:00
parent 9d8ffd5df8
commit 3c4e068348
5 changed files with 351 additions and 110 deletions

View file

@ -31,10 +31,10 @@
"to_port": 1 "to_port": 1
}, },
{ {
"from": "scratches", "from": "splatter_color",
"from_port": 0, "from_port": 0,
"to": "colorize", "to": "blend2_2",
"to_port": 0 "to_port": 1
}, },
{ {
"from": "colorize", "from": "colorize",
@ -43,10 +43,46 @@
"to_port": 0 "to_port": 0
}, },
{ {
"from": "splatter_color", "from": "fbm2",
"from_port": 0, "from_port": 0,
"to": "blend2_2", "to": "colorize",
"to_port": 0
},
{
"from": "graph",
"from_port": 1,
"to": "splatter_color_3",
"to_port": 0
},
{
"from": "shape_2",
"from_port": 0,
"to": "splatter_color_3",
"to_port": 1 "to_port": 1
},
{
"from": "splatter_color_3",
"from_port": 0,
"to": "buffer_3",
"to_port": 0
},
{
"from": "buffer_3",
"from_port": 0,
"to": "splatter_color_4",
"to_port": 0
},
{
"from": "splatter_color_4",
"from_port": 0,
"to": "normal_map2",
"to_port": 0
},
{
"from": "normal_map2",
"from_port": 0,
"to": "Material",
"to_port": 4
} }
], ],
"label": "Graph", "label": "Graph",
@ -65,8 +101,8 @@
}, },
"name": "Material", "name": "Material",
"node_position": { "node_position": {
"x": 367.611938, "x": -198.423416,
"y": 243.147049 "y": 226.924652
}, },
"parameters": { "parameters": {
"albedo_color": { "albedo_color": {
@ -80,7 +116,7 @@
"depth_scale": 0.5, "depth_scale": 0.5,
"emission_energy": 1, "emission_energy": 1,
"flags_transparent": true, "flags_transparent": true,
"metallic": 0, "metallic": 0.5,
"normal": 1, "normal": 1,
"roughness": 1, "roughness": 1,
"size": 11, "size": 11,
@ -92,12 +128,12 @@
{ {
"name": "splatter_color", "name": "splatter_color",
"node_position": { "node_position": {
"x": -677.745056, "x": -791.793091,
"y": 267.207703 "y": 317.725281
}, },
"parameters": { "parameters": {
"count": 215, "count": 153,
"opacity": 0, "opacity": 0.46,
"rotate": 33.6, "rotate": 33.6,
"scale": 0, "scale": 0,
"scale_x": 0.5, "scale_x": 0.5,
@ -106,6 +142,7 @@
"variations": false "variations": false
}, },
"seed_int": 1176364672, "seed_int": 1176364672,
"seed_locked": true,
"type": "splatter_color" "type": "splatter_color"
}, },
{ {
@ -176,12 +213,6 @@
"to": "mirror", "to": "mirror",
"to_port": 0 "to_port": 0
}, },
{
"from": "fbm2",
"from_port": 0,
"to": "math_8",
"to_port": 1
},
{ {
"from": "math_7", "from": "math_7",
"from_port": 0, "from_port": 0,
@ -194,12 +225,6 @@
"to": "colorize_2", "to": "colorize_2",
"to_port": 0 "to_port": 0
}, },
{
"from": "colorize_2",
"from_port": 0,
"to": "gen_outputs",
"to_port": 0
},
{ {
"from": "math_8", "from": "math_8",
"from_port": 0, "from_port": 0,
@ -207,9 +232,63 @@
"to_port": 1 "to_port": 1
}, },
{ {
"from": "math", "from": "colorize_2",
"from_port": 0, "from_port": 0,
"to": "gen_outputs", "to": "gen_outputs",
"to_port": 0
},
{
"from": "math",
"from_port": 0,
"to": "decompose",
"to_port": 0
},
{
"from": "combine",
"from_port": 0,
"to": "gen_outputs",
"to_port": 1
},
{
"from": "decompose",
"from_port": 0,
"to": "combine",
"to_port": 0
},
{
"from": "decompose",
"from_port": 1,
"to": "combine",
"to_port": 1
},
{
"from": "decompose",
"from_port": 2,
"to": "combine",
"to_port": 2
},
{
"from": "math",
"from_port": 0,
"to": "math_2",
"to_port": 0
},
{
"from": "math_2",
"from_port": 0,
"to": "combine",
"to_port": 3
},
{
"from": "fbm2",
"from_port": 0,
"to": "math_9",
"to_port": 0
},
{
"from": "math_9",
"from_port": 0,
"to": "math_8",
"to_port": 1 "to_port": 1
} }
], ],
@ -217,8 +296,8 @@
"longdesc": "", "longdesc": "",
"name": "graph", "name": "graph",
"node_position": { "node_position": {
"x": -1656.337646, "x": -1546.436768,
"y": 239.964798 "y": 284.510437
}, },
"nodes": [ "nodes": [
{ {
@ -459,7 +538,7 @@
"name": "math_7", "name": "math_7",
"node_position": { "node_position": {
"x": 242.193024, "x": 242.193024,
"y": -555.033875 "y": -555.516174
}, },
"parameters": { "parameters": {
"clamp": false, "clamp": false,
@ -473,15 +552,15 @@
{ {
"name": "fbm2", "name": "fbm2",
"node_position": { "node_position": {
"x": 203.57576, "x": -31.397236,
"y": -335.872437 "y": -291.948822
}, },
"parameters": { "parameters": {
"folds": 0, "folds": 0,
"iterations": 5, "iterations": 5,
"noise": 3, "noise": 3,
"offset": 0, "offset": 0,
"persistence": 0.3, "persistence": 0.32,
"scale_x": 8, "scale_x": 8,
"scale_y": 7 "scale_y": 7
}, },
@ -492,13 +571,13 @@
"name": "math_8", "name": "math_8",
"node_position": { "node_position": {
"x": 497.395172, "x": 497.395172,
"y": -566.178772 "y": -566.87323
}, },
"parameters": { "parameters": {
"clamp": false, "clamp": true,
"default_in1": 0, "default_in1": 0,
"default_in2": 0, "default_in2": 0,
"op": 2 "op": 1
}, },
"seed_int": 0, "seed_int": 0,
"type": "math" "type": "math"
@ -522,24 +601,24 @@
}, },
{ {
"a": 1, "a": 1,
"b": 1, "b": 0,
"g": 1, "g": 0,
"pos": 0.000001, "pos": 0.000001,
"r": 1 "r": 0
}, },
{ {
"a": 1, "a": 1,
"b": 0.17453, "b": 0.080719,
"g": 0.519531, "g": 0.134069,
"pos": 0.028095, "pos": 0.028095,
"r": 0.201483 "r": 0.179688
}, },
{ {
"a": 1, "a": 1,
"b": 0.109985, "b": 0.284546,
"g": 0.207031, "g": 0.392838,
"pos": 0.821499, "pos": 0.683393,
"r": 0.163057 "r": 0.433594
} }
], ],
"type": "Gradient" "type": "Gradient"
@ -566,8 +645,8 @@
{ {
"name": "gen_outputs", "name": "gen_outputs",
"node_position": { "node_position": {
"x": 1041.897461, "x": 1603.897461,
"y": -436.653137 "y": -573.653137
}, },
"parameters": { "parameters": {
@ -603,8 +682,8 @@
{ {
"name": "math", "name": "math",
"node_position": { "node_position": {
"x": 721.161072, "x": 769.161072,
"y": -414.326324 "y": -479.326324
}, },
"parameters": { "parameters": {
"clamp": true, "clamp": true,
@ -614,6 +693,60 @@
}, },
"seed_int": 0, "seed_int": 0,
"type": "math" "type": "math"
},
{
"name": "decompose",
"node_position": {
"x": 1070.507202,
"y": -476.516388
},
"parameters": {
},
"seed_int": 0,
"type": "decompose"
},
{
"name": "combine",
"node_position": {
"x": 1412.107178,
"y": -478.596375
},
"parameters": {
},
"seed_int": 0,
"type": "combine"
},
{
"name": "math_2",
"node_position": {
"x": 1024.507202,
"y": -332.516388
},
"parameters": {
"clamp": false,
"default_in1": 0,
"default_in2": 1,
"op": 15
},
"seed_int": 0,
"type": "math"
},
{
"name": "math_9",
"node_position": {
"x": 249.777237,
"y": -324.944916
},
"parameters": {
"clamp": false,
"default_in1": 0,
"default_in2": 0.3,
"op": 2
},
"seed_int": 0,
"type": "math"
} }
], ],
"parameters": { "parameters": {
@ -623,43 +756,12 @@
"shortdesc": "", "shortdesc": "",
"type": "graph" "type": "graph"
}, },
{
"name": "colorize",
"node_position": {
"x": -423.768982,
"y": -8.696673
},
"parameters": {
"gradient": {
"interpolation": 1,
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 0.040283,
"g": 0.108828,
"pos": 0.648929,
"r": 0.128906
}
],
"type": "Gradient"
}
},
"seed_int": 0,
"type": "colorize"
},
{ {
"generic_size": 1, "generic_size": 1,
"name": "blend2_2", "name": "blend2_2",
"node_position": { "node_position": {
"x": -232.763931, "x": -489.832764,
"y": 222.17923 "y": 229.591202
}, },
"parameters": { "parameters": {
"amount1": 1, "amount1": 1,
@ -671,11 +773,11 @@
{ {
"name": "splatter_color_2", "name": "splatter_color_2",
"node_position": { "node_position": {
"x": -1449.887329, "x": -1339.98645,
"y": 262.733795 "y": 306.279388
}, },
"parameters": { "parameters": {
"count": 51, "count": 100,
"opacity": 0, "opacity": 0,
"rotate": 180, "rotate": 180,
"scale": 0, "scale": 0,
@ -684,14 +786,15 @@
"select_inputs": 0, "select_inputs": 0,
"variations": false "variations": false
}, },
"seed_int": 0, "seed_int": 1416378624,
"seed_locked": true,
"type": "splatter_color" "type": "splatter_color"
}, },
{ {
"name": "buffer_2", "name": "buffer_2",
"node_position": { "node_position": {
"x": -1153.669678, "x": -1043.768799,
"y": 269.545532 "y": 313.091156
}, },
"parameters": { "parameters": {
"size": 11 "size": 11
@ -703,11 +806,11 @@
{ {
"name": "shape_2", "name": "shape_2",
"node_position": { "node_position": {
"x": -1695.679688, "x": -1585.778931,
"y": 364.80014 "y": 408.345734
}, },
"parameters": { "parameters": {
"edge": 0.2, "edge": 0,
"radius": 0.906667, "radius": 0.906667,
"shape": 0, "shape": 0,
"sides": 2 "sides": 2
@ -716,21 +819,121 @@
"type": "shape" "type": "shape"
}, },
{ {
"name": "scratches", "name": "colorize",
"node_position": { "node_position": {
"x": -697.072693, "x": -747.389404,
"y": -39.653183 "y": 224.760132
}, },
"parameters": { "parameters": {
"angle": 90, "gradient": {
"layers": 12, "interpolation": 1,
"length": 1, "points": [
"randomness": 0, {
"waviness": 0.51, "a": 1,
"width": 1 "b": 0.031738,
"g": 0.104694,
"pos": 0,
"r": 0.15625
},
{
"a": 1,
"b": 0.038681,
"g": 0.114346,
"pos": 1,
"r": 0.253906
}
],
"type": "Gradient"
}
}, },
"seed_int": 1348632320, "seed_int": 0,
"type": "scratches" "type": "colorize"
},
{
"name": "fbm2",
"node_position": {
"x": -1060.343384,
"y": 59.759666
},
"parameters": {
"folds": 0,
"iterations": 5,
"noise": 0,
"offset": 0,
"persistence": 0.5,
"scale_x": 10,
"scale_y": 10
},
"seed_int": 1560802304,
"type": "fbm2"
},
{
"name": "splatter_color_3",
"node_position": {
"x": -1343.273438,
"y": 560.172607
},
"parameters": {
"count": 100,
"opacity": 0,
"rotate": 180,
"scale": 0,
"scale_x": 0.05,
"scale_y": 0.05,
"select_inputs": 0,
"variations": false
},
"seed_int": 1416378624,
"seed_locked": true,
"type": "splatter_color"
},
{
"name": "splatter_color_4",
"node_position": {
"x": -786.262329,
"y": 577.464539
},
"parameters": {
"count": 153,
"opacity": 0,
"rotate": 33.6,
"scale": 0,
"scale_x": 0.5,
"scale_y": 0.5,
"select_inputs": 0,
"variations": false
},
"seed_int": 1176364672,
"seed_locked": true,
"type": "splatter_color"
},
{
"name": "buffer_3",
"node_position": {
"x": -1041.671997,
"y": 569.661011
},
"parameters": {
"size": 11
},
"seed_int": 0,
"type": "buffer",
"version": 1
},
{
"name": "normal_map2",
"node_position": {
"x": -492.839508,
"y": 579.223999
},
"parameters": {
"buffer": 1,
"param2": 0,
"size": 11,
"strength": 0.04
},
"seed_int": 0,
"type": "normal_map2"
} }
], ],
"parameters": { "parameters": {

View file

@ -1,10 +1,14 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://djdxb1ptl4fkm"] [gd_resource type="StandardMaterial3D" load_steps=5 format=2]
[ext_resource path="forest_background_albedo.png" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://b2jg52p2jp4m6" path="res://materials/forest_background_albedo.png" id="1"] [ext_resource path="forest_background_normal.png" type="Texture" id=3]
[resource] [resource]
shading_mode = 0 albedo_color = Color(1, 1, 1, 1)
diffuse_mode = 3 albedo_texture = ExtResource( 1 )
specular_mode = 2 metallic = 0.5
albedo_color = Color(0.262932, 0.262932, 0.262932, 1) roughness = 1
albedo_texture = ExtResource("1") normal_enabled = true
normal_scale = 1
normal_texture = ExtResource( 3 )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 MiB

After

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 MiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://boxhd026e1ohc"
path="res://.godot/imported/forest_background_normal.png-cc0828bc4cebd94b47dfb57e8f90a93e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://materials/forest_background_normal.png"
dest_files=["res://.godot/imported/forest_background_normal.png-cc0828bc4cebd94b47dfb57e8f90a93e.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