Work on the procedurally generated textures.

This commit is contained in:
Relintai 2020-02-09 18:48:28 +01:00
parent 1fa43b00e2
commit 62536cf2e5
4 changed files with 284 additions and 76 deletions

View File

@ -36,16 +36,46 @@
"to": "blend_3", "to": "blend_3",
"to_port": 0 "to_port": 0
}, },
{
"from": "colorize_5",
"from_port": 0,
"to": "blend",
"to_port": 1
},
{ {
"from": "blend_3", "from": "blend_3",
"from_port": 0, "from_port": 0,
"to": "blend",
"to_port": 0
},
{
"from": "blend",
"from_port": 0,
"to": "export",
"to_port": 0
},
{
"from": "blend",
"from_port": 0,
"to": "Material", "to": "Material",
"to_port": 0 "to_port": 0
}, },
{ {
"from": "blend_3", "from": "perlin_2",
"from_port": 0, "from_port": 0,
"to": "export", "to": "colorize_4",
"to_port": 0
},
{
"from": "perlin_3",
"from_port": 0,
"to": "blend_2",
"to_port": 1
},
{
"from": "colorize_4",
"from_port": 0,
"to": "colorize_5",
"to_port": 0 "to_port": 0
} }
], ],
@ -59,8 +89,8 @@
{ {
"name": "Material", "name": "Material",
"node_position": { "node_position": {
"x": -267, "x": 156,
"y": -2 "y": -3
}, },
"parameters": { "parameters": {
"albedo_color": { "albedo_color": {
@ -76,7 +106,7 @@
"metallic": 1, "metallic": 1,
"normal_scale": 1, "normal_scale": 1,
"roughness": 1, "roughness": 1,
"size": 6, "size": 8,
"subsurf_scatter_strength": 0 "subsurf_scatter_strength": 0
}, },
"type": "material" "type": "material"
@ -84,11 +114,11 @@
{ {
"name": "export", "name": "export",
"node_position": { "node_position": {
"x": -229, "x": 169,
"y": 333 "y": 348
}, },
"parameters": { "parameters": {
"size": 6, "size": 8,
"suffix": "albedo" "suffix": "albedo"
}, },
"type": "export" "type": "export"
@ -133,7 +163,7 @@
{ {
"name": "colorize_2", "name": "colorize_2",
"node_position": { "node_position": {
"x": -1093, "x": -1092,
"y": 376 "y": 376
}, },
"parameters": { "parameters": {
@ -142,45 +172,52 @@
"points": [ "points": [
{ {
"a": 1, "a": 1,
"b": 0.155528, "b": 0.244412,
"g": 0.217458, "g": 0.417478,
"pos": 0.004166,
"r": 0.552083
},
{
"a": 1,
"b": 0.21696,
"g": 0.346874,
"pos": 0.006818, "pos": 0.006818,
"r": 0.265625 "r": 0.447917
}, },
{ {
"a": 1, "a": 1,
"b": 0.109882, "b": 0.301595,
"g": 0.14963, "g": 0.423599,
"pos": 0.1575, "pos": 0.239318,
"r": 0.223958 "r": 0.53125
}, },
{ {
"a": 1, "a": 1,
"b": 0.078242, "b": 0.150391,
"g": 0.099646, "g": 0.199219,
"pos": 0.328864, "pos": 0.401591,
"r": 0.109375
},
{
"a": 1,
"b": 0.100181,
"g": 0.140394,
"pos": 0.528864,
"r": 0.161458
},
{
"a": 1,
"b": 0.107327,
"g": 0.156075,
"pos": 0.718182,
"r": 0.21875 "r": 0.21875
}, },
{ {
"a": 1, "a": 1,
"b": 0.1469, "b": 0.165446,
"g": 0.257595, "g": 0.251696,
"pos": 0.583409,
"r": 0.296875
},
{
"a": 1,
"b": 0.221625,
"g": 0.334771,
"pos": 0.763637,
"r": 0.447917
},
{
"a": 1,
"b": 0.206706,
"g": 0.476716,
"pos": 1, "pos": 1,
"r": 0.333333 "r": 0.661458
} }
], ],
"type": "Gradient" "type": "Gradient"
@ -191,7 +228,7 @@
{ {
"name": "emboss_2", "name": "emboss_2",
"node_position": { "node_position": {
"x": -927, "x": -926,
"y": 55 "y": 55
}, },
"parameters": { "parameters": {
@ -218,14 +255,14 @@
{ {
"name": "perlin_2", "name": "perlin_2",
"node_position": { "node_position": {
"x": -1260, "x": -1218,
"y": 763 "y": 592
}, },
"parameters": { "parameters": {
"iterations": 3, "iterations": 10,
"persistence": 0.5, "persistence": 0.2,
"scale_x": 4, "scale_x": 100,
"scale_y": 4 "scale_y": 100
}, },
"type": "perlin" "type": "perlin"
}, },
@ -244,8 +281,8 @@
{ {
"name": "colorize_3", "name": "colorize_3",
"node_position": { "node_position": {
"x": -673, "x": -671,
"y": 91 "y": 90
}, },
"parameters": { "parameters": {
"gradient": { "gradient": {
@ -281,12 +318,145 @@
{ {
"name": "blend_3", "name": "blend_3",
"node_position": { "node_position": {
"x": -572.75, "x": -601.75,
"y": 383 "y": 332
}, },
"parameters": { "parameters": {
"amount": 0.769275, "amount": 0.769275,
"blend_type": 8 "blend_type": 6
},
"type": "blend"
},
{
"name": "colorize_4",
"node_position": {
"x": -886.175049,
"y": 628.25
},
"parameters": {
"gradient": {
"interpolation": 1,
"points": [
{
"a": 0,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 0,
"b": 0,
"g": 0,
"pos": 0.74319,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 1,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "colorize_5",
"node_position": {
"x": -333.175049,
"y": 750.25
},
"parameters": {
"gradient": {
"interpolation": 1,
"points": [
{
"a": 0,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 0,
"b": 0,
"g": 0,
"pos": 0.58804,
"r": 0
},
{
"a": 1,
"b": 0.108327,
"g": 0.359375,
"pos": 0.624313,
"r": 0.082357
},
{
"a": 1,
"b": 0.08884,
"g": 0.682292,
"pos": 0.722894,
"r": 0.459748
},
{
"a": 1,
"b": 0.252775,
"g": 0.463542,
"pos": 0.859861,
"r": 0.229356
},
{
"a": 1,
"b": 0.601337,
"g": 0.838542,
"pos": 1,
"r": 0.493517
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "blend",
"node_position": {
"x": -320.175049,
"y": 488.25
},
"parameters": {
"amount": 0.6461,
"blend_type": 0
},
"type": "blend"
},
{
"name": "perlin_3",
"node_position": {
"x": -1152.175049,
"y": 1000.25
},
"parameters": {
"iterations": 3,
"persistence": 0.5,
"scale_x": 15,
"scale_y": 25
},
"type": "perlin"
},
{
"name": "blend_2",
"node_position": {
"x": -771.175049,
"y": 973.25
},
"parameters": {
"amount": 1,
"blend_type": 0
}, },
"type": "blend" "type": "blend"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 116 KiB

View File

@ -6,12 +6,6 @@
"to": "colorize", "to": "colorize",
"to_port": 0 "to_port": 0
}, },
{
"from": "colorize",
"from_port": 0,
"to": "blend",
"to_port": 0
},
{ {
"from": "perlin", "from": "perlin",
"from_port": 0, "from_port": 0,
@ -35,6 +29,24 @@
"from_port": 0, "from_port": 0,
"to": "export", "to": "export",
"to_port": 0 "to_port": 0
},
{
"from": "colorize",
"from_port": 0,
"to": "blend_2",
"to_port": 0
},
{
"from": "perlin_2",
"from_port": 0,
"to": "blend_2",
"to_port": 1
},
{
"from": "blend_2",
"from_port": 0,
"to": "blend",
"to_port": 0
} }
], ],
"label": "Graph", "label": "Graph",
@ -64,7 +76,7 @@
"metallic": 1, "metallic": 1,
"normal_scale": 1, "normal_scale": 1,
"roughness": 1, "roughness": 1,
"size": 6, "size": 8,
"subsurf_scatter_strength": 0 "subsurf_scatter_strength": 0
}, },
"type": "material" "type": "material"
@ -72,14 +84,14 @@
{ {
"name": "voronoi", "name": "voronoi",
"node_position": { "node_position": {
"x": -704.5, "x": -686.5,
"y": -297.5 "y": -300.5
}, },
"parameters": { "parameters": {
"intensity": 1, "intensity": 1,
"randomness": 0.95, "randomness": 0.95,
"scale_x": 4, "scale_x": 12,
"scale_y": 4, "scale_y": 12,
"stretch_x": 1, "stretch_x": 1,
"stretch_y": 1 "stretch_y": 1
}, },
@ -88,8 +100,8 @@
{ {
"name": "colorize", "name": "colorize",
"node_position": { "node_position": {
"x": -320.5, "x": -451.5,
"y": -430.5 "y": -513.5
}, },
"parameters": { "parameters": {
"gradient": { "gradient": {
@ -106,7 +118,7 @@
"a": 1, "a": 1,
"b": 1, "b": 1,
"g": 1, "g": 1,
"pos": 0.072727, "pos": 0.045454,
"r": 1 "r": 1
}, },
{ {
@ -129,7 +141,7 @@
"y": 62.5 "y": 62.5
}, },
"parameters": { "parameters": {
"size": 6, "size": 8,
"suffix": "albedo" "suffix": "albedo"
}, },
"type": "export" "type": "export"
@ -142,9 +154,9 @@
}, },
"parameters": { "parameters": {
"iterations": 9, "iterations": 9,
"persistence": 0.9, "persistence": 0.95,
"scale_x": 11, "scale_x": 32,
"scale_y": 14 "scale_y": 32
}, },
"type": "perlin" "type": "perlin"
}, },
@ -155,7 +167,7 @@
"y": -126.5 "y": -126.5
}, },
"parameters": { "parameters": {
"amount": 0.6287, "amount": 0.9828,
"blend_type": 2 "blend_type": 2
}, },
"type": "blend" "type": "blend"
@ -172,24 +184,24 @@
"points": [ "points": [
{ {
"a": 1, "a": 1,
"b": 0.057292, "b": 0.083333,
"g": 0.057292, "g": 0.083333,
"pos": 0, "pos": 0,
"r": 0.057292 "r": 0.083333
}, },
{ {
"a": 1, "a": 1,
"b": 0.078125, "b": 0.083333,
"g": 0.078125, "g": 0.083333,
"pos": 0.245454, "pos": 0.245454,
"r": 0.078125 "r": 0.083333
}, },
{ {
"a": 1, "a": 1,
"b": 0.223958, "b": 0.291667,
"g": 0.209699, "g": 0.267362,
"pos": 0.514936, "pos": 0.514936,
"r": 0.16692 "r": 0.194445
}, },
{ {
"a": 1, "a": 1,
@ -217,6 +229,32 @@
} }
}, },
"type": "colorize" "type": "colorize"
},
{
"name": "blend_2",
"node_position": {
"x": -262.928589,
"y": -389.75
},
"parameters": {
"amount": 0.5,
"blend_type": 6
},
"type": "blend"
},
{
"name": "perlin_2",
"node_position": {
"x": -35.928589,
"y": -552.75
},
"parameters": {
"iterations": 3,
"persistence": 0.5,
"scale_x": 10,
"scale_y": 9
},
"type": "perlin"
} }
], ],
"parameters": { "parameters": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 115 KiB