Fix animated_fox example.
This commit is contained in:
parent
e86c6d6c60
commit
0f9c52cc38
@ -79,6 +79,7 @@ fn setup_scene_once_loaded(
|
|||||||
colour: Color::RED,
|
colour: Color::RED,
|
||||||
},
|
},
|
||||||
stencil: OutlineStencil,
|
stencil: OutlineStencil,
|
||||||
|
..default()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
*done = true;
|
*done = true;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user