From 4032ef64aa33f616a2009ad1e6270cdf646242e7 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 7 Jan 2025 17:36:07 +0100 Subject: update notes and support all part attrs --- a.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'a.md') diff --git a/a.md b/a.md index 2a4669a..3c0f7c0 100644 --- a/a.md +++ b/a.md @@ -47,25 +47,25 @@ Combinations of g__, va__ and tex_* are multiplied except normal which is added. Defaults should be the identity for that operation, so default is 1 / white except normals are zero. -| Key | Value Type | | -| ---------------- | ------------- | ---------------------- | -| index | Resource | | -| g_metallic | f32 | | -| g_roughness | f32 | | -| g_albedo | Vec3A | | -| g_transmission | f32 | | -| va_position | [Resource; 3] | | -| va_normal | [Resource; 3] | | -| va_texcoord | [Resource; 2] | | -| va_roughness | Resource | | -| va_metallic | Resource | | -| va_albedo | [Resource; 3] | | -| va_transmission | Resource | | -| tex_normal | Resource | | -| tex_roughness | Resource | Use only green channel | -| tex_metallic | Resource | Use only blue channel | -| tex_albedo | Resource | | -| tex_transmission | Resource | | +| Key | Value Type | | +| ---------------- | ------------- | ------------------ | +| index | Resource | | +| g_metallic | f32 | | +| g_roughness | f32 | | +| g_albedo | \[f32;3\] | | +| g_transmission | f32 | | +| va_position | [Resource; 3] | | +| va_normal | [Resource; 3] | | +| va_texcoord | [Resource; 2] | | +| va_roughness | Resource | | +| va_metallic | Resource | | +| va_albedo | [Resource; 3] | | +| va_transmission | Resource | | +| tex_normal | Resource | Use color channels | +| tex_roughness | Resource | Use green channel | +| tex_metallic | Resource | Use blue channel | +| tex_albedo | Resource | Use color channels | +| tex_transmission | Resource | Use alpha channel | ### Texture -- cgit v1.2.3-70-g09d2