Double MAX_JOINTS and MAX_MORPH_WEIGHTS

This commit is contained in:
Victor Bjelkholm 2024-10-17 19:30:48 +02:00
parent 90b5ed6c93
commit a9a256610b
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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 {