Extensions: change the constant for the complete status
[blender-addons-contrib.git] / automat / adj_material.json
blobaf7c62a40f0240171f5f5c149e7a4418b3bb36d8
2         "NodeSetup":[
3                 {
4                         "type": "ShaderNodeTexCoord",
5                         "label": "Texture Co-ordinate",
6                         "location": [-3700, 0]
7                 },
8                 {
9                         "type": "ShaderNodeMath",
10                         "label": "Greater Than",
11                         "location": [-1900, 0],
12                         "operation": "\"GREATER_THAN\"",
13                         "inputs[1].default_value": 0.4
14                 },
15                 {
16                         "type": "ShaderNodeMixRGB",
17                         "label": "Bumpmap Mix RGB",
18                         "location": [-1700, 0],
19                         "in": [
20                         ["Greater Than", 0]
21                         ]
22                 },
23                 {
24                         "type": "ShaderNodeTexImage",
25                         "label": "Color Image",
26                         "location": [-450, 100],
27                         "in": [
28                         ["Texture Co-ordinate", "\"UV\""]
29                         ]
30                 },
31                 {
32                         "type": "ShaderNodeTexImage",
33                         "label": "Bump Image",
34                         "location": [-1350, -150],
35                         "in": [
36                         ["Bumpmap Mix RGB", "\"Color\""]
37                         ]
38                 },
39                 {
40                         "type": "ShaderNodeLayerWeight",
41                         "label": "Layer Weight",
42                         "location": [-500, 500],
43                         "in": [
44                         ["Adjust normal strength", "\"Color\""]
45                         ]
46                 },
47                 {
48                         "type": "ShaderNodeMixRGB",
49                         "label": "Multiply bumpmap",
50                         "location": [-950, -150],
51                         "in": [
52                         ["Add bumpmap", "\"Color\"", 1]
53                         ],
54                         "blend_type": "\"MULTIPLY\"",
55                         "inputs[0].default_value": 1,
56                         "inputs[2].default_value": "(0, 0, 1, 1)"
57                 },
58                 {
59                         "type": "ShaderNodeMixRGB",
60                         "label": "Adjust normal strength",
61                         "location": [-750, -150],
62                         "in": [
63                         ["Multiply bumpmap", "\"Color\"", 1]
64                         ],
65                         "blend_type": "\"MIX\"",
66                         "inputs[0].default_value": 0.5,
67                         "inputs[2].default_value": "(0, 0, 0.5, 1)"
68                 },
69                 {
70                         "type": "ShaderNodeMixRGB",
71                         "label": "Add bumpmap",
72                         "location": [-1150, -150],
73                         "in": [
74                         ["Bump Image", "\"Color\"", 1]
75                         ],
76                         "blend_type": "\"ADD\"",
77                         "inputs[0].default_value": 1,
78                         "inputs[2].default_value": "(0, 0, 1, 1)"
79                 },
80                 {
81                         "type": "ShaderNodeMixRGB",
82                         "label": "Add fresnel reflection",
83                         "location": [-300, 500],
84                         "in": [
85                         ["Layer Weight", "\"Fresnel\"", 1],
86                         ["Color Image", "\"Color\"", 2]
87                         ],
88                         "blend_type": "\"MULTIPLY\"",
89                         "inputs[0].default_value": 1
90                 },
91                 {
92                         "type": "ShaderNodeBsdfDiffuse",
93                         "label": "Diffuse component",
94                         "location": [-100, 100],
95                         "in": [
96                         ["Color Image", "\"Color\""],
97                         ["Adjust normal strength", "\"Color\"", "\"Normal\""]
98                         ]
99                 },
100                 {
101                         "type": "ShaderNodeBsdfGlossy",
102                         "label": "Glossy component",
103                         "location": [-100, -100],
104                         "in": [
105                         ["Desaturate reflection", "\"Color\""],
106                         ["Adjust normal strength", "\"Color\"", "\"Normal\""]
107                         ],
108                         "distribution": "\"ASHIKHMIN_SHIRLEY\""
109                 },
110                 {
111                         "type": "ShaderNodeMixShader",
112                         "label": "Mix shader",
113                         "location": [100, 0],
114                         "in": [
115                         ["Modify specularity", 0],
116                         ["Diffuse component", 0],
117                         ["Glossy component", 0]
118                         ]
119                 },
120                 {
121                         "type": "ShaderNodeMixRGB",
122                         "label": "Desaturate reflection",
123                         "location": [-270, 0],
124                         "in": [
125                         ["Color Image", "\"Color\"", 1]
126                         ],
127                         "inputs[0].default_value": 0.7
128                 },
129                 {
130                         "type": "ShaderNodeOutputMaterial",
131                         "label": "Output",
132                         "location": [400, 0],
133                         "in": [
134                         ["Mix shader", "\"Shader\""]
135                         ]
136                 },
137                 {
138                         "type": "ShaderNodeValToRGB",
139                         "label": "Modify specularity",
140                         "location": [-150, 320],
141                         "in": [
142                         ["Add fresnel reflection", 0]
143                         ]
144                 }
145         ]