-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1698 from MiiBond/KHR_materials_transmission_v1
KHR_materials_transmission
- Loading branch information
Showing
9 changed files
with
257 additions
and
0 deletions.
There are no files selected for viewing
233 changes: 233 additions & 0 deletions
233
extensions/2.0/Khronos/KHR_materials_transmission/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+205 KB
extensions/2.0/Khronos/KHR_materials_transmission/figures/ConstantTransmission.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+941 KB
...ons/2.0/Khronos/KHR_materials_transmission/figures/Multi-layer Transparency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+904 KB
extensions/2.0/Khronos/KHR_materials_transmission/figures/OpacityComparison.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+134 KB
extensions/2.0/Khronos/KHR_materials_transmission/figures/Roughness.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+563 KB
...nos/KHR_materials_transmission/figures/Screen Shot 2019-10-25 at 3.40.21 PM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+241 KB
extensions/2.0/Khronos/KHR_materials_transmission/figures/TransmissionTexture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+212 KB
extensions/2.0/Khronos/KHR_materials_transmission/figures/TransmissionWithMask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions
24
...2.0/Khronos/KHR_materials_transmission/schema/glTF.KHR_materials_transmission.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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": { } | ||
} | ||
} |