2020-02-12 08:01:56 +01:00
|
|
|
{
|
|
|
|
"name": "tex3d_from2d",
|
|
|
|
"node_position": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"parameters": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"shader_model": {
|
|
|
|
"code": "",
|
|
|
|
"global": "",
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"default": "vec3(0.5)",
|
|
|
|
"label": "",
|
2020-10-10 00:04:28 +02:00
|
|
|
"longdesc": "The input 2D texture",
|
2020-02-12 08:01:56 +01:00
|
|
|
"name": "in",
|
2020-10-10 00:04:28 +02:00
|
|
|
"shortdesc": "Input",
|
2020-02-12 08:01:56 +01:00
|
|
|
"type": "rgb"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"instance": "",
|
2020-10-10 00:04:28 +02:00
|
|
|
"longdesc": "A node that creates a 3D texture from a 2D texture",
|
2020-02-12 08:01:56 +01:00
|
|
|
"name": "TEX3D From2D",
|
|
|
|
"outputs": [
|
|
|
|
{
|
2020-10-10 00:04:28 +02:00
|
|
|
"longdesc": "The generated 3D texture",
|
|
|
|
"shortdesc": "Output",
|
2020-02-12 08:01:56 +01:00
|
|
|
"tex3d": "$in($uv.xy+vec2(0.5))",
|
|
|
|
"type": "tex3d"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": [
|
|
|
|
|
2020-10-10 00:04:28 +02:00
|
|
|
],
|
|
|
|
"shortdesc": "Tex3D From 2D"
|
2020-02-12 08:01:56 +01:00
|
|
|
},
|
|
|
|
"type": "shader"
|
|
|
|
}
|