Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KHR_materials_diffuse_transmission #1825

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5c78221
Initial draft for KHR_materials_translucency.
proog128 Jun 9, 2020
581f024
Added figure and code to describe BTDF.
proog128 Aug 4, 2020
db5aecc
Update KHR_materials_translucency
bsdorra Jan 14, 2021
e3d5468
README.md edited
bsdorra Jan 14, 2021
dbd0f34
Change summary images; Add review changes
bsdorra Jan 15, 2021
ed933ab
Merge branch 'KHR_materials_translucency' of ssh://eu-muc-git01.ux.ds…
bsdorra Jan 15, 2021
c99b6c7
Change thin transmission image; Fix font
bsdorra Jan 18, 2021
6d8e1f2
Change summary images; Add review changes
bsdorra Jan 15, 2021
a00be41
Add translucency color parameter and examples
bsdorra May 6, 2022
1af7abe
Minor updates
bsdorra May 6, 2022
25ca3c9
Optimize example image format/size
bsdorra May 6, 2022
c8ce712
Add example description; Update brdf notation
bsdorra May 6, 2022
a3ea22b
Rename translucency -> diffuse_transmission
bsdorra May 6, 2022
5c66d6c
Change example table layout, edit descriptions
bsdorra May 9, 2022
cfb298b
Update extensions/2.0/Khronos/KHR_materials_diffuse_transmission/sche…
bsdorra Jun 20, 2022
097b8b7
Remove example for combined diffuse-/transmission
bsdorra Jun 23, 2022
70ff0da
Remove all references to KHR_materials_sss
bsdorra Jun 23, 2022
5e78cfc
Remove extensions combination overview for now
bsdorra Jun 23, 2022
74cebc5
Update image text
bsdorra Jun 16, 2023
105b508
Fix typo
bsdorra Jul 25, 2023
4e22210
Revise spec
bsdorra Jun 18, 2024
36c6bbb
Fix image table layout. Add white bg to bsdf image for better visibil…
bsdorra Aug 2, 2024
95892f4
Split up normative "material structure update" and non-normative impl…
bsdorra Nov 8, 2024
81ae540
Fix Appendix B url
bsdorra Nov 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
405 changes: 405 additions & 0 deletions extensions/2.0/Khronos/KHR_materials_diffuse_transmission/README.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "KHR_materials_diffuse_transmission glTF extension",
"type": "object",
"description": "glTF extension that defines the diffuse transmission of the material.",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"diffuseTransmissionFactor": {
"type": "number",
"description": "The percentage of light that is diffusely transmitted through the surface.",
"default": 0.0,
"minimum": 0.0,
"maximum": 1.0,
"gltf_detailedDescription": "The percentage of non-specularly reflected light that is transmitted through the surface via a Lambertian diffuse transmission."
},
"diffuseTransmissionTexture": {
"allOf": [ { "$ref": "textureInfo.schema.json" } ],
"description": "A texture that defines the percentage of light transmitted through the surface.",
"gltf_detailedDescription": "A texture that defines the strength of the diffuse transmission effect, stored in the alpha (A) channel. Will be multiplied by the diffuseTransmissionFactor."
},
"diffuseTransmissionColorFactor": {
"type": "array",
"items": {
"type": "number",
"minimum": 0.0
},
"description": "The color of the transmitted light.",
"default": [ 1.0, 1.0, 1.0 ],
"minItems": 3,
"maxItems": 3,
"gltf_detailedDescription": "The color of the transmitted light."
},
"diffuseTransmissionColorTexture": {
"allOf": [ { "$ref": "textureInfo.schema.json" } ],
"description": "A texture that defines the color of the transmitted light",
"gltf_detailedDescription": "A texture that defines the color of the transmitted light, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by diffuseTransmissionColorFactor."
},
"extensions": { },
"extras": { }
}
}
Loading