diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-06 14:28:02 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-06 14:28:02 +0100 |
commit | 814cc1cb01692aa934a40636c9226ff7bb911266 (patch) | |
tree | 47a50a5dc1861ace4bc1854a9156618b70df3847 /a.md | |
parent | c2ee65a83838a0ce13402e2c4634bae409d55071 (diff) | |
download | weareserver-814cc1cb01692aa934a40636c9226ff7bb911266.tar weareserver-814cc1cb01692aa934a40636c9226ff7bb911266.tar.bz2 weareserver-814cc1cb01692aa934a40636c9226ff7bb911266.tar.zst |
new proto
Diffstat (limited to 'a.md')
-rw-r--r-- | a.md | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -27,18 +27,19 @@ Prefab = *(part) ``` Part = *(len_key:u16 len_value:u16 *(key:u8) *(value:u8)) +Attribute = 0x01 value:f32 / 0x02 buffer:Res / 0x03 texture:Res ``` -| Key | Value Type | -| -------------------- | ----------------- | -| vertex (mult) | `Res<[f32]>` | -| index | `Res<[[u16; 3]]>` | -| armature | ???? | -| fragment_shader | Shader | -| fragment_shader_data | `Res<[f32]>` | -| vertex_shader | Shader | -| vertex_shader_data | `Res<[f32]>` | -| texture (mult) | Texture | +| Key | Value Type | +| ------------------- | ----------------- | +| index | `Res<[[u16; 3]]>` | +| va_position | `[Attribute; 3]` | +| va_normal | `[Attribute; 3]` | +| va_texcoord | `[Attribute; 2]` | +| va_pbr_roughness | `Attribute` | +| va_pbr_metallic | `Attribute` | +| va_pbr_albedo | `[Attribute; 3]` | +| va_pbr_transmission | `Attribute` | ### Texture |