From 2731017aa88bf6baaff787d7486d4248f9ca6ca0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 12 Jan 2025 20:33:59 +0100 Subject: double sided mesh attribute --- doc/resources.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/resources.md') 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 -- cgit v1.2.3-70-g09d2