|
@@ -57,7 +57,7 @@
|
|
{
|
|
{
|
|
"name": "Camera Normal Matrix",
|
|
"name": "Camera Normal Matrix",
|
|
"icon": "video",
|
|
"icon": "video",
|
|
- "nodeType": "mat4",
|
|
|
|
|
|
+ "nodeType": "mat3",
|
|
"shaderNode": "cameraNormalMatrix"
|
|
"shaderNode": "cameraNormalMatrix"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -232,7 +232,7 @@
|
|
{
|
|
{
|
|
"name": "Model Normal Matrix",
|
|
"name": "Model Normal Matrix",
|
|
"icon": "box",
|
|
"icon": "box",
|
|
- "nodeType": "vec3",
|
|
|
|
|
|
+ "nodeType": "mat3",
|
|
"shaderNode": "modelNormalMatrix"
|
|
"shaderNode": "modelNormalMatrix"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -244,7 +244,7 @@
|
|
{
|
|
{
|
|
"name": "Model View Matrix",
|
|
"name": "Model View Matrix",
|
|
"icon": "box",
|
|
"icon": "box",
|
|
- "nodeType": "vec3",
|
|
|
|
|
|
+ "nodeType": "mat4",
|
|
"shaderNode": "modelViewMatrix"
|
|
"shaderNode": "modelViewMatrix"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -256,7 +256,7 @@
|
|
{
|
|
{
|
|
"name": "Model World Matrix",
|
|
"name": "Model World Matrix",
|
|
"icon": "box",
|
|
"icon": "box",
|
|
- "nodeType": "vec3",
|
|
|
|
|
|
+ "nodeType": "mat4",
|
|
"shaderNode": "modelWorldMatrix"
|
|
"shaderNode": "modelWorldMatrix"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -280,6 +280,7 @@
|
|
"name": "Object Normal Matrix",
|
|
"name": "Object Normal Matrix",
|
|
"icon": "3d-cube-sphere",
|
|
"icon": "3d-cube-sphere",
|
|
"shaderNode": "objectNormalMatrix",
|
|
"shaderNode": "objectNormalMatrix",
|
|
|
|
+ "nodeType": "mat3",
|
|
"properties": [
|
|
"properties": [
|
|
{
|
|
{
|
|
"name": "object3d",
|
|
"name": "object3d",
|
|
@@ -302,6 +303,7 @@
|
|
"name": "Object View Matrix",
|
|
"name": "Object View Matrix",
|
|
"icon": "3d-cube-sphere",
|
|
"icon": "3d-cube-sphere",
|
|
"shaderNode": "objectViewMatrix",
|
|
"shaderNode": "objectViewMatrix",
|
|
|
|
+ "nodeType": "mat4",
|
|
"properties": [
|
|
"properties": [
|
|
{
|
|
{
|
|
"name": "object3d",
|
|
"name": "object3d",
|