Fix animated_fox example.

This commit is contained in:
Robin KAY 2022-11-18 21:43:15 +00:00
parent e86c6d6c60
commit 0f9c52cc38
2 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,7 @@ fn setup_scene_once_loaded(
colour: Color::RED, colour: Color::RED,
}, },
stencil: OutlineStencil, stencil: OutlineStencil,
..default()
}); });
} }
*done = true; *done = true;

View File

@ -26,6 +26,12 @@ struct OutlineVertexUniform {
@group(1) @binding(0) @group(1) @binding(0)
var<uniform> mesh: Mesh; var<uniform> mesh: Mesh;
#ifdef SKINNED
@group(1) @binding(1)
var<uniform> joint_matrices: SkinnedMesh;
#import bevy_pbr::skinning
#endif
@group(2) @binding(0) @group(2) @binding(0)
var<uniform> view_uniform: OutlineViewUniform; var<uniform> view_uniform: OutlineViewUniform;