worldPos Type: vec3 worldNormal Type: vec3 depth Type: float
Type: float
JSON
{
"Type": "getShadow",
"Name": "getShadow",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "worldPos",
"Type": "vec3"
},
{
"Connection": null,
"Id": "worldNormal",
"Type": "vec3"
},
{
"Connection": null,
"Id": "depth",
"Type": "float"
}
],
"OutputPins": [
{
"Id": "",
"Type": "float"
}
]
}
shadowPos Type: vec4
Type: float
JSON
{
"Type": "getShadow(vec4)",
"Name": "getShadow(vec4)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "shadowPos",
"Type": "vec4"
}
],
"OutputPins": [
{
"Id": "",
"Type": "float"
}
]
}