mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-22 08:03:45 +00:00
provide a global scriped variable for TSShape::smMaxSkinBones
allows per project to either expand or educe the cap depending on needs
This commit is contained in:
parent
f2a5b06803
commit
ae9ae1db44
1 changed files with 4 additions and 0 deletions
|
|
@ -75,6 +75,10 @@ MODULE_BEGIN( TSShapeInstance )
|
|||
"@brief Enables mesh instancing on non-skin meshes that have less that this count of verts.\n"
|
||||
"The default value is 2000. Higher values can degrade performance.\n"
|
||||
"@ingroup Rendering\n" );
|
||||
|
||||
Con::addVariable("$MaxSkinBones", TypeS32, &TSShape::smMaxSkinBones,
|
||||
"@brief Max number of bones allowed by a given shape for hardwar skinning. Default 70\n"
|
||||
"@ingroup Rendering\n");
|
||||
}
|
||||
|
||||
MODULE_END;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue