diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-22 00:23:58 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-22 00:23:58 +0100 |
commit | 0612ce58890741428f10c73a63bcb417dcd43a9f (patch) | |
tree | a06a6d180722cc3adc35d6a8e30789773b56d508 /client/src/shaders/vertex_world_skin.wgsl | |
parent | 13eb6abfe0e766e432a2f08d58fa9f5a6c5026e7 (diff) | |
download | weareserver-0612ce58890741428f10c73a63bcb417dcd43a9f.tar weareserver-0612ce58890741428f10c73a63bcb417dcd43a9f.tar.bz2 weareserver-0612ce58890741428f10c73a63bcb417dcd43a9f.tar.zst |
generalize pipeline configuration in preparation for skinning
Diffstat (limited to 'client/src/shaders/vertex_world_skin.wgsl')
-rw-r--r-- | client/src/shaders/vertex_world_skin.wgsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/shaders/vertex_world_skin.wgsl b/client/src/shaders/vertex_world_skin.wgsl index 86250f1..288950d 100644 --- a/client/src/shaders/vertex_world_skin.wgsl +++ b/client/src/shaders/vertex_world_skin.wgsl @@ -33,8 +33,8 @@ struct PushConst { model_basis: mat3x3<f32>, } -var<uniform> joints: array<mat4x4<f32>>; -var<push_constant> pc: PushConst; +@group(3) @binding(0) var<uniform> joints: array<mat4x4<f32>, 128>; +var<push_constant> pc: PushConst; @vertex fn main(vi: VertexIn) -> VertexOut { |