Revision control
++ {
++ "asset": { "version": "2.0" },
++ "extensionsUsed": [
++ "KHR_materials_clearcoat",
++ "KHR_materials_emissive_strength",
++ "KHR_materials_ior",
++ "KHR_materials_pbrSpecularGlossiness",
++ "KHR_materials_specular",
++ "KHR_materials_transmission",
++ "KHR_materials_unlit",
++ "KHR_materials_volume",
++ "KHR_texture_transform",
++ "KHR_lights_punctual",
++ "KHR_materials_sheen",
++ "KHR_materials_anisotropy",
++ "KHR_materials_iridescence",
++ "KHR_materials_dispersion"
++ ],
++ "extensions": {
++ "KHR_lights_punctual": {
++ "lights": [
++ { "type": "directional", "color": [1, 0.9, 0.8], "intensity": 3.0, "name": "sun" },
++ { "type": "point", "intensity": 20.0, "range": 10.0 },
++ {
++ "type": "spot",
++ "intensity": 40.0,
++ "spot": { "innerConeAngle": 0.2, "outerConeAngle": 0.5 }
++ }
++ ]
++ }
++ },
++ "scene": 0,
++ "scenes": [ { "nodes": [0, 1] } ],
++ "nodes": [
++ { "name": "lightNode", "extensions": { "KHR_lights_punctual": { "light": 2 } } },
++ { "name": "cameraNode", "camera": 0 }
++ ],
++ "cameras": [
++ {
++ "type": "perspective",
++ "perspective": { "yfov": 0.66, "znear": 0.1, "zfar": 1000.0 }
++ },
++ {
++ "type": "orthographic",
++ "orthographic": { "xmag": 2.0, "ymag": 1.5, "znear": 0.5, "zfar": 100.0 }
++ }
++ ],
++ "images": [ { "uri": "checker.png" } ],
++ "samplers": [ { "magFilter": 9728, "minFilter": 9985, "wrapS": 33071, "wrapT": 33648 } ],
++ "textures": [ { "sampler": 0, "source": 0 } ],
++ "materials": [
++ {
++ "name": "full",
++ "pbrMetallicRoughness": {
++ "baseColorFactor": [0.8, 0.6, 0.4, 1.0],
++ "baseColorTexture": {
++ "index": 0,
++ "extensions": {
++ "KHR_texture_transform": {
++ "offset": [0.25, 0.5],
++ "scale": [2.0, 3.0],
++ "rotation": 0.7853981633974483
++ }
++ }
++ },
++ "metallicFactor": 0.7,
++ "roughnessFactor": 0.3
++ },
++ "normalTexture": { "index": 0, "scale": 0.9 },
++ "occlusionTexture": { "index": 0, "strength": 0.8 },
++ "emissiveFactor": [0.1, 0.2, 0.3],
++ "alphaMode": "MASK",
++ "alphaCutoff": 0.25,
++ "doubleSided": true,
++ "extensions": {
++ "KHR_materials_clearcoat": {
++ "clearcoatFactor": 0.6,
++ "clearcoatRoughnessFactor": 0.2
++ },
++ "KHR_materials_transmission": { "transmissionFactor": 0.75 },
++ "KHR_materials_volume": {
++ "thicknessFactor": 1.2,
++ "attenuationDistance": 0.5,
++ "attenuationColor": [0.9, 0.8, 0.7]
++ },
++ "KHR_materials_ior": { "ior": 1.4 },
++ "KHR_materials_emissive_strength": { "emissiveStrength": 5.0 },
++ "KHR_materials_specular": {
++ "specularFactor": 0.5,
++ "specularColorFactor": [0.2, 0.4, 0.6]
++ },
++ "KHR_materials_sheen": {
++ "sheenColorFactor": [0.3, 0.5, 0.7],
++ "sheenColorTexture": { "index": 0 },
++ "sheenRoughnessFactor": 0.45,
++ "sheenRoughnessTexture": { "index": 0 }
++ },
++ "KHR_materials_anisotropy": {
++ "anisotropyStrength": 0.65,
++ "anisotropyRotation": 1.5707963267948966,
++ "anisotropyTexture": { "index": 0 }
++ },
++ "KHR_materials_iridescence": {
++ "iridescenceFactor": 0.85,
++ "iridescenceTexture": { "index": 0 },
++ "iridescenceIor": 1.8,
++ "iridescenceThicknessMinimum": 250.0,
++ "iridescenceThicknessMaximum": 900.0,
++ "iridescenceThicknessTexture": { "index": 0 }
++ },
++ "KHR_materials_dispersion": {
++ "dispersion": 0.4
++ }
++ }
++ },
++ {
++ "name": "specGloss",
++ "extensions": {
++ "KHR_materials_pbrSpecularGlossiness": {
++ "diffuseFactor": [0.5, 0.5, 0.5, 1.0],
++ "specularFactor": [0.1, 0.2, 0.3],
++ "glossinessFactor": 0.4
++ }
++ }
++ },
++ {
++ "name": "unlit",
++ "extensions": { "KHR_materials_unlit": {} }
++ }
++ ]
++ }