summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-12 20:33:59 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-12 20:33:59 +0100
commit2731017aa88bf6baaff787d7486d4248f9ca6ca0 (patch)
tree2dc9250f5a861752f98b3849975f79b94c03c61a /doc
parent40032198a2167f81de37dba31b7e4f98c6270be7 (diff)
downloadweareserver-2731017aa88bf6baaff787d7486d4248f9ca6ca0.tar
weareserver-2731017aa88bf6baaff787d7486d4248f9ca6ca0.tar.bz2
weareserver-2731017aa88bf6baaff787d7486d4248f9ca6ca0.tar.zst
double sided mesh attribute
Diffstat (limited to 'doc')
-rw-r--r--doc/resources.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/resources.md b/doc/resources.md
index d3d33eb..61a5781 100644
--- a/doc/resources.md
+++ b/doc/resources.md
@@ -48,6 +48,7 @@ white except normals are zero.
| `g_dispersion` | `Float` | |
| `g_thickness` | `Float` | |
| `g_unlit` | | |
+| `g_double_sided` | | |
| `va_position` | `Res<[Vec3]>` | |
| `va_normal` | `Res<[Vec3]>` | |
| `va_texcoord` | `Res<[Vec2]>` | |
@@ -79,6 +80,8 @@ white except normals are zero.
[KHR_materials_dispersion].
- **Unlit**: Directly transfers \*_albedo to the screen if set. No lighting
shaders are applied. See [KHR_materials_unlit]
+- **Double Sided**: Disable backface culling for this mesh. Equivalent to
+ `material.doubleSided` of glTF 2.0.
## LightPart