material-maker/addons/material_maker/nodes/tex3d_from2d.mmg

40 lines
654 B
Plaintext
Raw Normal View History

{
"name": "tex3d_from2d",
"node_position": {
"x": 0,
"y": 0
},
"parameters": {
},
"shader_model": {
"code": "",
"global": "",
"inputs": [
{
"default": "vec3(0.5)",
"label": "",
"longdesc": "The input 2D texture",
"name": "in",
"shortdesc": "Input",
"type": "rgb"
}
],
"instance": "",
"longdesc": "Creates a 3D texture from a 2D texture",
"name": "TEX3D From2D",
"outputs": [
{
"longdesc": "The generated 3D texture",
"shortdesc": "Output",
"tex3d": "$in($uv.xy+vec2(0.5))",
"type": "tex3d"
}
],
"parameters": [
],
"shortdesc": "Tex3D From 2D"
},
"type": "shader"
}