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

Update KHR_materials_volume schema from json schema draft 04 to json schema draft 2020-12 #2380

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "material.KHR_materials_volume.schema.json",
"title": "KHR_materials_volume glTF Material Extension",
"type": "object",
"description": "glTF extension that defines the parameters for the volume of a material.",
Expand All @@ -19,8 +20,7 @@
},
"attenuationDistance": {
"type": "number",
"minimum": 0.0,
"exclusiveMinimum": true,
"exclusiveMinimum": 0.0,
"description": "Average distance that light travels in the medium before interacting with a particle.",
"gltf_detailedDescription": "Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space. When undefined, the value is assumed to be infinite."
},
Expand Down