forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglTF.KHR_materials_transmission.schema.json
24 lines (24 loc) · 1.62 KB
/
glTF.KHR_materials_transmission.schema.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
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "KHR_materials_transmission glTF extension",
"type": "object",
"description": "glTF extension that defines the optical transmission of a material.",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"transmissionFactor": {
"type": "number",
"description": "The base percentage of light transmitted through the surface.",
"default": 0.0,
"minimum": 0.0,
"maximum": 1.0,
"gltf_detailedDescription": "The base percentage of non-specularly reflected light that is transmitted through the surface. i.e. of the light that penetrates a surface (isn't specularly reflected), this is the percentage that is transmitted and not diffusely re-emitted."
},
"transmissionTexture": {
"allOf": [ { "$ref": "textureInfo.schema.json" } ],
"description": "A texture that defines the transmission percentage of the surface, sampled from the R channel. These values are linear, and will be multiplied by transmissionFactor.",
"gltf_detailedDescription": "A texture that defines the transmission percentage of the surface, sampled from the R channel. These values are linear, and will be multiplied by transmissionFactor. This indicates the percentage of non-specularly reflected light that is transmitted through the surface. i.e. of the light that penetrates a surface (isn't specularly reflected), this is the percentage is transmitted and not diffusely re-emitted."
},
"extensions": { },
"extras": { }
}
}