Created a scorch mark asset base (needs to have roughness and normals too, but will do for now)

This commit is contained in:
unfa 2021-11-17 13:40:43 +01:00
parent c4c2f0f17c
commit 9bfb3db68d
3 changed files with 601 additions and 0 deletions

View file

@ -0,0 +1,588 @@
{
"connections": [
{
"from": "perlin",
"from_port": 0,
"to": "multi_warp",
"to_port": 0
},
{
"from": "multi_warp",
"from_port": 0,
"to": "tones_map",
"to_port": 0
},
{
"from": "perlin_2",
"from_port": 0,
"to": "multi_warp",
"to_port": 1
},
{
"from": "tones_map",
"from_port": 0,
"to": "fast_blur",
"to_port": 0
},
{
"from": "fast_blur",
"from_port": 0,
"to": "shape",
"to_port": 0
},
{
"from": "shape",
"from_port": 0,
"to": "blend",
"to_port": 1
},
{
"from": "graph",
"from_port": 0,
"to": "blend",
"to_port": 0
},
{
"from": "perlin_3",
"from_port": 0,
"to": "circle_map",
"to_port": 0
},
{
"from": "circle_map",
"from_port": 0,
"to": "blend_2",
"to_port": 1
},
{
"from": "radial_gradient",
"from_port": 0,
"to": "blend_2",
"to_port": 0
},
{
"from": "blend",
"from_port": 0,
"to": "blend_3",
"to_port": 1
},
{
"from": "blend_2",
"from_port": 0,
"to": "blend_3",
"to_port": 0
},
{
"from": "blend_3",
"from_port": 0,
"to": "tones_map_2",
"to_port": 0
},
{
"from": "tones_map_2",
"from_port": 0,
"to": "Material",
"to_port": 7
},
{
"from": "uniform",
"from_port": 0,
"to": "Material",
"to_port": 0
}
],
"label": "Graph",
"longdesc": "",
"name": "@@285",
"node_position": {
"x": 0,
"y": 0
},
"nodes": [
{
"export_paths": {
"Blender": "/data/Projects/Games/Liblast/Game/Assets/Effects/ScorchMark",
"Godot": "/data/Projects/Games/Liblast/Game/Assets/Effects/ScorchMark"
},
"name": "Material",
"node_position": {
"x": 1744,
"y": 13
},
"parameters": {
"albedo_color": {
"a": 1,
"b": 0,
"g": 0,
"r": 0,
"type": "Color"
},
"ao": 1,
"depth_scale": 0.5,
"emission_energy": 1,
"flags_transparent": true,
"metallic": 0,
"normal": 1,
"roughness": 1,
"size": 10,
"sss": 0
},
"seed": 0,
"seed_locked": false,
"type": "material"
},
{
"name": "perlin",
"node_position": {
"x": -752,
"y": 187
},
"parameters": {
"iterations": 3,
"persistence": 0.5,
"scale_x": 12,
"scale_y": 12
},
"seed": 0,
"seed_locked": false,
"type": "perlin"
},
{
"name": "shape",
"node_position": {
"x": 90,
"y": 225
},
"parameters": {
"edge": 1,
"radius": 0.94,
"shape": 0,
"sides": 6
},
"seed": 0,
"seed_locked": false,
"type": "shape"
},
{
"name": "tones_map",
"node_position": {
"x": -193,
"y": 166
},
"parameters": {
"in_max": 1,
"in_min": 0,
"out_max": 1.15,
"out_min": 0.39
},
"seed": 0,
"seed_locked": false,
"type": "tones_map"
},
{
"name": "perlin_2",
"node_position": {
"x": -763,
"y": 413
},
"parameters": {
"iterations": 3,
"persistence": 0.5,
"scale_x": 10,
"scale_y": 10
},
"seed": 0,
"seed_locked": false,
"type": "perlin"
},
{
"name": "multi_warp",
"node_position": {
"x": -465,
"y": 248
},
"parameters": {
"param0": 10,
"param1": 3.819,
"param2": 5,
"param3": 1
},
"seed": 0,
"seed_locked": false,
"type": "multi_warp"
},
{
"name": "fast_blur",
"node_position": {
"x": -191,
"y": 410
},
"parameters": {
"param0": 11,
"param1": 52,
"param2": 1
},
"seed": 0,
"seed_locked": false,
"type": "fast_blur"
},
{
"connections": [
{
"from": "perlin",
"from_port": 0,
"to": "transform",
"to_port": 1
},
{
"from": "perlin",
"from_port": 0,
"to": "transform",
"to_port": 2
},
{
"from": "perlin",
"from_port": 0,
"to": "transform",
"to_port": 0
},
{
"from": "transform",
"from_port": 0,
"to": "gen_outputs",
"to_port": 0
}
],
"label": "Warp1",
"longdesc": "",
"name": "graph",
"node_position": {
"x": -106,
"y": -106
},
"nodes": [
{
"name": "transform",
"node_position": {
"x": -259.25,
"y": -658
},
"parameters": {
"repeat": true,
"rotate": 0,
"scale_x": 1,
"scale_y": 1,
"translate_x": 0.115,
"translate_y": 0.5
},
"seed": 32461,
"seed_locked": false,
"type": "transform"
},
{
"name": "perlin",
"node_position": {
"x": -502.25,
"y": -653
},
"parameters": {
"iterations": 10,
"persistence": 0.5,
"scale_x": 4,
"scale_y": 4
},
"seed": 1093,
"seed_locked": false,
"type": "perlin"
},
{
"name": "gen_inputs",
"node_position": {
"x": -670.25,
"y": -647.5
},
"parameters": {
},
"ports": [
],
"seed": 29095,
"seed_locked": false,
"type": "ios"
},
{
"name": "gen_outputs",
"node_position": {
"x": 18.75,
"y": -657.5
},
"parameters": {
},
"ports": [
{
"name": "port0",
"type": "rgba"
}
],
"seed": -12991,
"seed_locked": false,
"type": "ios"
},
{
"name": "gen_parameters",
"node_position": {
"x": -315.75,
"y": -893
},
"parameters": {
"param0": 4,
"param1": 4,
"param2": 10,
"param3": 0.5,
"param4": 0.115,
"param5": 0.5
},
"seed": 18520,
"seed_locked": false,
"type": "remote",
"widgets": [
{
"label": "Scale X",
"linked_widgets": [
{
"node": "perlin",
"widget": "scale_x"
}
],
"name": "param0",
"type": "linked_control"
},
{
"label": "Scale Y",
"linked_widgets": [
{
"node": "perlin",
"widget": "scale_y"
}
],
"name": "param1",
"type": "linked_control"
},
{
"label": "Iterations",
"linked_widgets": [
{
"node": "perlin",
"widget": "iterations"
}
],
"name": "param2",
"type": "linked_control"
},
{
"label": "Persistance",
"linked_widgets": [
{
"node": "perlin",
"widget": "persistence"
}
],
"name": "param3",
"type": "linked_control"
},
{
"label": "Warp X",
"linked_widgets": [
{
"node": "transform",
"widget": "translate_x"
}
],
"name": "param4",
"type": "linked_control"
},
{
"label": "Warp Y",
"linked_widgets": [
{
"node": "transform",
"widget": "translate_y"
}
],
"name": "param5",
"type": "linked_control"
}
]
}
],
"parameters": {
"param0": 4,
"param1": 4,
"param2": 10,
"param3": 0.5,
"param4": 0.115,
"param5": 0.5
},
"seed": 0,
"seed_locked": false,
"shortdesc": "",
"type": "graph"
},
{
"name": "blend",
"node_position": {
"x": 480,
"y": 70
},
"parameters": {
"amount": 1,
"blend_type": 2
},
"seed": 0,
"seed_locked": false,
"type": "blend"
},
{
"name": "circle_map",
"node_position": {
"x": 482,
"y": 470
},
"parameters": {
"radius": 1,
"repeat": 1
},
"seed": 0,
"seed_locked": false,
"type": "circle_map"
},
{
"name": "perlin_3",
"node_position": {
"x": 204,
"y": 447
},
"parameters": {
"iterations": 9,
"persistence": 0.5,
"scale_x": 32,
"scale_y": 1
},
"seed": 0,
"seed_locked": false,
"type": "perlin"
},
{
"name": "blend_2",
"node_position": {
"x": 713,
"y": 337
},
"parameters": {
"amount": 1,
"blend_type": 2
},
"seed": 0,
"seed_locked": false,
"type": "blend"
},
{
"name": "radial_gradient",
"node_position": {
"x": 424,
"y": 306
},
"parameters": {
"gradient": {
"interpolation": 2,
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 0.341085,
"r": 1
},
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0.697674,
"r": 0
}
],
"type": "Gradient"
},
"repeat": 1
},
"seed": 0,
"seed_locked": false,
"type": "radial_gradient"
},
{
"name": "blend_3",
"node_position": {
"x": 857.5,
"y": 82
},
"parameters": {
"amount": 0.41,
"blend_type": 4
},
"seed": 0,
"seed_locked": false,
"type": "blend"
},
{
"name": "tones_map_2",
"node_position": {
"x": 1244,
"y": 16
},
"parameters": {
"in_max": 0.47,
"in_min": 0,
"out_max": 1,
"out_min": 0
},
"seed": 0,
"seed_locked": false,
"type": "tones_map"
},
{
"name": "uniform",
"node_position": {
"x": 1469,
"y": -156
},
"parameters": {
"color": {
"a": 1,
"b": 0,
"g": 0,
"r": 0,
"type": "Color"
}
},
"seed": 0,
"seed_locked": false,
"type": "uniform"
}
],
"parameters": {
},
"seed": 0,
"seed_locked": false,
"shortdesc": "",
"type": "graph"
}

View file

@ -0,0 +1,10 @@
[gd_resource type="SpatialMaterial" load_steps=5 format=2]
[ext_resource path="ScorchMark_albedo.png" type="Texture" id=1]
[resource]
albedo_color = Color(0, 0, 0, 1)
albedo_texture = ExtResource( 1 )
metallic = 0
roughness = 1

BIN
Game/Assets/Effects/ScorchMark_albedo.png (Stored with Git LFS) Normal file

Binary file not shown.