mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
46 lines
618 B
Plaintext
46 lines
618 B
Plaintext
{
|
|
"name": "tex3d_apply",
|
|
"node_position": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"shader_model": {
|
|
"code": "",
|
|
"global": "",
|
|
"inputs": [
|
|
{
|
|
"default": "0.0",
|
|
"label": "Height",
|
|
"name": "z",
|
|
"type": "f"
|
|
},
|
|
{
|
|
"default": "0.0",
|
|
"label": "Color",
|
|
"name": "c",
|
|
"type": "f"
|
|
},
|
|
{
|
|
"default": "vec3(1.0)",
|
|
"label": "Texture",
|
|
"name": "t",
|
|
"type": "tex3d"
|
|
}
|
|
],
|
|
"instance": "",
|
|
"name": "TEX3D Apply",
|
|
"outputs": [
|
|
{
|
|
"rgb": "$t(vec4($uv, $z($uv), $c($uv)))",
|
|
"type": "rgb"
|
|
}
|
|
],
|
|
"parameters": [
|
|
|
|
]
|
|
},
|
|
"type": "shader"
|
|
} |