From 77486da1c97c988205c8bb117b1168a1a0ef6a46 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 9 Jan 2025 22:45:13 +0100 Subject: occlusion --- doc/resources.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/resources.md b/doc/resources.md index 6be292b..ca30d4c 100644 --- a/doc/resources.md +++ b/doc/resources.md @@ -63,7 +63,8 @@ white except normals are zero. | tex_alpha | Resource | Use alpha channel | | tex_transmission | Resource | Use red channel | | tex_emission | Resource | Use color channels | -| tex_thickness | Resource | Use green channels | +| tex_thickness | Resource | Use green channel | +| tex_occlusion | Resource | Use red channel | - **Attenuation**: Attenuation coefficient for each color channel due to scattering within the material volume expressed as e-folding distance (m^-1). @@ -76,7 +77,7 @@ white except normals are zero. - **Dispersion**: 20 / Abbe Number. Equivalent to `dispersion` of [KHR_materials_dispersion]. - **Unlit**: Directly transfers \*_albedo to the screen if set. No lighting - shaders are applied. + shaders are applied. See [KHR_materials_unlit] ## LightPart @@ -110,3 +111,4 @@ WebP [KHR_materials_volume]: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_volume [KHR_materials_dispersion]: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_dispersion [KHR_lights_punctual]: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_lights_punctual +[KHR_lights_unlit]: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_lights_unlit -- cgit v1.2.3-70-g09d2