diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-20 16:58:12 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-20 16:58:12 +0100 |
commit | a09a19c4a0e1c5f66ce283e2ee74ddb81810b08f (patch) | |
tree | bd3aa469dd3324c8aace40357225b7574197c782 | |
parent | 13aab0b7c8697feae9a933cd9658677d5e868866 (diff) | |
download | weareserver-a09a19c4a0e1c5f66ce283e2ee74ddb81810b08f.tar weareserver-a09a19c4a0e1c5f66ce283e2ee74ddb81810b08f.tar.bz2 weareserver-a09a19c4a0e1c5f66ce283e2ee74ddb81810b08f.tar.zst |
doc tangent and mirror hint
-rw-r--r-- | doc/resources.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/resources.md b/doc/resources.md index e4944ef..afb6bb8 100644 --- a/doc/resources.md +++ b/doc/resources.md @@ -51,6 +51,7 @@ white except normals are zero. | `g_double_sided` | | | | `va_position` | `Res<[Vec3]>` | | | `va_normal` | `Res<[Vec3]>` | | +| `va_tangent` | `Res<[Vec3]>` | | | `va_texcoord` | `Res<[Vec2]>` | | | `va_roughness` | `Res<[Float]>` | | | `va_metallic` | `Res<[Float]>` | | @@ -67,6 +68,7 @@ white except normals are zero. | `tex_emission` | `Res<Texture>` | Use color channels | | `tex_thickness` | `Res<Texture>` | Use green channel | | `tex_occlusion` | `Res<Texture>` | Use red channel | +| `hint_mirror` | | | - **Attenuation**: Attenuation coefficient for each color channel due to scattering within the material volume expressed as e-folding distance (m^-1). @@ -82,6 +84,9 @@ white except normals are zero. shaders are applied. See [KHR_materials_unlit] - **Double Sided**: Disable backface culling for this mesh. Equivalent to `material.doubleSided` of glTF 2.0. +- **Mirror Hint**: Suggest a client to render reflections of this surface + properly e.g. show use a texture that shows output of another render pass from + the mirrors perspective. It can be assumed that the mesh is on a single plane. ## LightPart |