summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-10 20:06:01 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-10 20:06:01 +0100
commit3ac853862b5965c1ebfb10b12fb35cf5c671232f (patch)
tree4aaa6684d21ec7eb4dbae00878111989131aedba /doc
parent2746fce8d943325f34b188a67b7039453d8484d1 (diff)
downloadweareserver-3ac853862b5965c1ebfb10b12fb35cf5c671232f.tar
weareserver-3ac853862b5965c1ebfb10b12fb35cf5c671232f.tar.bz2
weareserver-3ac853862b5965c1ebfb10b12fb35cf5c671232f.tar.zst
physics extension and fixes
Diffstat (limited to 'doc')
-rw-r--r--doc/resources.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/resources.md b/doc/resources.md
index 86f874a..d3d33eb 100644
--- a/doc/resources.md
+++ b/doc/resources.md
@@ -22,7 +22,7 @@
| Key | Value Type | |
| ------------- | -------------------------------------- | --------- |
| `mesh` | `Matrix3`, `Vec3`, `Res<MeshPart>` | Multi key |
-| `collider` | `Matrix3`, `Vec3`, `Res<ColliderPart>` | Multi key |
+| `collision` | `Matrix3`, `Vec3`, `Res<ColliderPart>` | Multi key |
| `light` | `Vec3`, `Res<LightPart>` | Multi key |
| `environment` | `Res<EnvironmentPart>` | |
@@ -51,12 +51,12 @@ white except normals are zero.
| `va_position` | `Res<[Vec3]>` | |
| `va_normal` | `Res<[Vec3]>` | |
| `va_texcoord` | `Res<[Vec2]>` | |
-| `va_roughness` | `Res<Float>` | |
-| `va_metallic` | `Res<Float>` | |
+| `va_roughness` | `Res<[Float]>` | |
+| `va_metallic` | `Res<[Float]>` | |
| `va_albedo` | `Res<[Vec3]>` | |
-| `va_alpha` | `Res<Float>` | |
-| `va_transmission` | `Res<Float>` | |
-| `va_emission` | `Res<Float>` | |
+| `va_alpha` | `Res<[Float]>` | |
+| `va_transmission` | `Res<[Float]>` | |
+| `va_emission` | `Res<[Vec3]>` | |
| `tex_normal` | `Res<Texture>` | Use color channels |
| `tex_roughness` | `Res<Texture>` | Use green channel |
| `tex_metallic` | `Res<Texture>` | Use blue channel |
@@ -107,7 +107,7 @@ white except normals are zero.
WebP
-## ColliderPart
+## CollisionPart
Only one key for shape should be set.