forked from KhronosGroup/ANARI-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
khr_light_directional.json
43 lines (42 loc) · 1.4 KB
/
khr_light_directional.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
{
"info" : {
"name" : "KHR_LIGHT_DIRECTIONAL",
"type" : "extension",
"dependencies" : []
},
"objects" : [
{
"type" : "ANARI_LIGHT",
"name" : "directional",
"description" : "directional light object",
"parameters" : [
{
"name" : "name",
"types" : ["ANARI_STRING"],
"tags" : [],
"description" : "optional object name"
}, {
"name" : "color",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["color"],
"default" : [1.0, 1.0, 1.0],
"minimum" : [0.0, 0.0, 0.0],
"maximum" : [1.0, 1.0, 1.0],
"description" : "color of the light"
}, {
"name" : "irradiance",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.0,
"description" : "amount of light in W/m^2"
}, {
"name" : "direction",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["direction"],
"default" : [0.0, 0.0, 1.0],
"description" : "emission direction of the light"
}
]
}
]
}