diff --git a/examples/animated_fox.rs b/examples/animated_fox.rs index 3f78b22..9d31155 100644 --- a/examples/animated_fox.rs +++ b/examples/animated_fox.rs @@ -79,6 +79,7 @@ fn setup_scene_once_loaded( colour: Color::RED, }, stencil: OutlineStencil, + ..default() }); } *done = true; diff --git a/src/outline.wgsl b/src/outline.wgsl index 757c2e7..29f8d61 100644 --- a/src/outline.wgsl +++ b/src/outline.wgsl @@ -26,6 +26,12 @@ struct OutlineVertexUniform { @group(1) @binding(0) var mesh: Mesh; +#ifdef SKINNED +@group(1) @binding(1) +var joint_matrices: SkinnedMesh; +#import bevy_pbr::skinning +#endif + @group(2) @binding(0) var view_uniform: OutlineViewUniform;