Skip to main content

gpu_shader_skin_vertex_reference

Function gpu_shader_skin_vertex_reference 

pub fn gpu_shader_skin_vertex_reference(
    pos: [f32; 3],
    normal: [f32; 3],
    tangent: [f32; 4],
    skinned_attr: &GpuSkinnedVertex,
    palette: &[GpuJointMotorPair],
) -> ([f32; 3], [f32; 3], [f32; 4], [f32; 3])
Expand description

Deterministic software reference implementation of the WGSL vertex shader PGA Motor dual-quaternion skinning kernel (HotZeroHeap).