mirror of
https://github.com/bevyengine/bevy
synced 2024-11-27 07:00:18 +00:00
Double MAX_JOINTS and MAX_MORPH_WEIGHTS
This commit is contained in:
parent
90b5ed6c93
commit
a9a256610b
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ const MAX_TEXTURE_WIDTH: u32 = 2048;
|
|||
const MAX_COMPONENTS: u32 = MAX_TEXTURE_WIDTH * MAX_TEXTURE_WIDTH;
|
||||
|
||||
/// Max target count available for [morph targets](MorphWeights).
|
||||
pub const MAX_MORPH_WEIGHTS: usize = 64;
|
||||
pub const MAX_MORPH_WEIGHTS: usize = 128;
|
||||
|
||||
#[derive(Error, Display, Clone, Debug)]
|
||||
pub enum MorphBuildError {
|
||||
|
|
|
@ -15,7 +15,7 @@ use bevy_render::{
|
|||
use bevy_transform::prelude::GlobalTransform;
|
||||
|
||||
/// Maximum number of joints supported for skinned meshes.
|
||||
pub const MAX_JOINTS: usize = 256;
|
||||
pub const MAX_JOINTS: usize = 512;
|
||||
|
||||
#[derive(Component)]
|
||||
pub struct SkinIndex {
|
||||
|
|
Loading…
Reference in a new issue