diff options
Diffstat (limited to 'doc/resources.md')
-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 |