-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathkhr_material_physically_based.json
165 lines (164 loc) · 6.96 KB
/
khr_material_physically_based.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"info" : {
"name" : "KHR_MATERIAL_PHYSICALLY_BASED",
"type" : "extension",
"dependencies" : []
},
"objects" : [
{
"type" : "ANARI_MATERIAL",
"name" : "physicallyBased",
"description" : "physically based material object",
"parameters" : [
{
"name" : "name",
"types" : ["ANARI_STRING"],
"tags" : [],
"description" : "optional object name"
}, {
"name" : "baseColor",
"types" : ["ANARI_FLOAT32_VEC3", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute", "color"],
"default" : [1.0, 1.0, 1.0],
"description" : "base color"
}, {
"name" : "opacity",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 1.0,
"description" : "opacity"
}, {
"name" : "metallic",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 1.0,
"description" : "metallic factor"
}, {
"name" : "roughness",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 1.0,
"description" : "roughness factor"
}, {
"name" : "normal",
"types" : ["ANARI_SAMPLER"],
"tags" : [],
"description" : "normal map"
}, {
"name" : "emissive",
"types" : ["ANARI_FLOAT32_VEC3", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute", "color"],
"default" : [0.0, 0.0, 0.0],
"description" : "emissive factor"
}, {
"name" : "occlusion",
"types" : ["ANARI_SAMPLER"],
"tags" : [],
"description" : "precomputed occlusion"
}, {
"name" : "alphaMode",
"types" : ["ANARI_STRING"],
"tags" : [],
"values" : ["opaque", "blend", "mask"],
"default" : "opaque",
"description" : "alpha mode"
}, {
"name" : "alphaCutoff",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 0.5,
"description" : "cutoff for alpha mask mode"
}, {
"name" : "specular",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "specular factor"
}, {
"name" : "specularColor",
"types" : ["ANARI_FLOAT32_VEC3", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute", "color"],
"default" : [1.0, 1.0, 1.0],
"description" : "specular color"
}, {
"name" : "clearcoat",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "clearcoat factor"
}, {
"name" : "clearcoatRoughness",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "clearcoat roughness"
}, {
"name" : "clearcoatNormal",
"types" : ["ANARI_SAMPLER"],
"tags" : [],
"description" : "clearcoat normal map"
}, {
"name" : "transmission",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "transmission factor"
}, {
"name" : "ior",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 1.5,
"description" : "index of refraction"
}, {
"name" : "thickness",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "wall thickness"
}, {
"name" : "attenuationDistance",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : "INFINITY",
"description" : "attenuation distance"
}, {
"name" : "attenuationColor",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["color"],
"default" : [1.0, 1.0, 1.0],
"description" : "attenuation color"
}, {
"name" : "sheenColor",
"types" : ["ANARI_FLOAT32_VEC3", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute", "color"],
"default" : [0.0, 0.0, 0.0],
"description" : "sheen color"
}, {
"name" : "sheenRoughness",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "sheen roughness"
}, {
"name" : "iridescence",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "iridescence factor"
}, {
"name" : "iridescenceIor",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.3,
"description" : "iridescence index of refraction"
}, {
"name" : "iridescenceThickness",
"types" : ["ANARI_FLOAT32", "ANARI_SAMPLER", "ANARI_STRING"],
"tags" : ["attribute"],
"default" : 0.0,
"description" : "iridescence thicknness"
}
]
}
]
}