3
11
This repository has been archived on 2024-05-16. You can view files and clone it, but cannot push or open issues or pull requests.
blender-addons-contrib/automat/blur.json
OmarSquircleArt 4f5adef69d Fix T69664: Update add-ons for Mapping node changes.
The Mapping node was update to have dynamic inputs that can be linked.
Moreover, the min and max options were removed entrily. This broke
add-ons that used the Mapping node, so this patch fixes those add-ons.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5733
2019-09-09 18:19:00 +02:00

56 lines
1.0 KiB
JSON

{
"NodeSetup":[
{
"label": "Correct strength vector math",
"type": "ShaderNodeVectorMath",
"location": [0, 0],
"operation": "\"SUBTRACT\"",
"in": [
["Add noise", "\"Vector\""],
["Transform to RGB", "\"Color\""]
]
},
{
"label": "Add noise",
"type": "ShaderNodeVectorMath",
"location": [-200, 0],
"in": [
["Correct strength", "\"Color\"", 1]
]
},
{
"label": "Correct strength",
"type": "ShaderNodeMixRGB",
"location": [-400, 0],
"inputs[1].default_value": "(0, 0, 0, 1)",
"in": [
["Blur strength", 0],
["Noise source", "\"Color\"", "\"Color2\""]
]
},
{
"label": "Transform to RGB",
"type": "ShaderNodeMixRGB",
"location": [-400, -200],
"inputs[1].default_value": "(1, 1, 1, 1)",
"inputs[2].default_value": "(0, 0, 0, 1)",
"in": [
["Blur strength", 0]
]
},
{
"label": "Blur strength",
"type": "ShaderNodeValue",
"location": [-800, -50]
},
{
"label": "Noise source",
"type": "ShaderNodeTexNoise",
"location": [-600, -150],
"inputs['Scale'].default_value": "1000.0"
}
]
}