summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-09 22:45:13 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-09 22:45:13 +0100
commit77486da1c97c988205c8bb117b1168a1a0ef6a46 (patch)
tree5a172db8537087645c4b5bc401c5019fa76dd330 /doc
parent1aca139c985cb71be90da1de6d65adc3c7d0d073 (diff)
downloadweareserver-77486da1c97c988205c8bb117b1168a1a0ef6a46.tar
weareserver-77486da1c97c988205c8bb117b1168a1a0ef6a46.tar.bz2
weareserver-77486da1c97c988205c8bb117b1168a1a0ef6a46.tar.zst
occlusion
Diffstat (limited to 'doc')
-rw-r--r--doc/resources.md6
1 files changed, 4 insertions, 2 deletions
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