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_blend #1302

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rename EXT_blend -> KHR_blend.
  • Loading branch information
Don McCurdy committed Jul 3, 2018
commit a570d453eb6d74b46ce69970b33a3395de1c7e01
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EXT_blend
# KHR_blend

## Contributors

Expand All @@ -14,15 +14,15 @@ Written against the glTF 2.0 spec.

## Overview

This extension defines blending operations on glTF materials. The `EXT_blend`
This extension defines blending operations on glTF materials. The `KHR_blend`
extension may be used alongside the default PBR materials, or materials defined
in glTF extensions. When combined with other materials and techniques, blending
may be used to achieve effects like fire, steam, or holograms.

For any material with the `EXT_blend` extension, blending must use the
For any material with the `KHR_blend` extension, blending must use the
specified blend equation/operation and factors.

For any materials without the `EXT_blend` extension, blending is assumed to be
For any materials without the `KHR_blend` extension, blending is assumed to be
off unless otherwise specified.

### Properties
Expand Down Expand Up @@ -78,7 +78,7 @@ Defines parameters to the blending equation.
"name": "My_Additive_Material",
"pbrMetallicRoughness": {},
"extensions": {
"EXT_blend": {
"KHR_blend": {
"blendEquation": [32778, 32778],
"blendFactors": [1, 1, 1, 1]
}
Expand Down
1 change: 1 addition & 0 deletions extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Extensions for glTF 2.0

#### Khronos extensions
* [KHR_blend](2.0/Khronos/KHR_blend/README.md)
* [KHR_materials_pbrSpecularGlossiness](2.0/Khronos/KHR_materials_pbrSpecularGlossiness/README.md)
* [KHR_materials_unlit](2.0/Khronos/KHR_materials_unlit/README.md)
* [KHR_draco_mesh_compression](2.0/Khronos/KHR_draco_mesh_compression/README.md)
Expand Down