branchrust_reboot/main/skinned_mesh_bakercancel

5 Commits over 0 Days - ∞cph!

2 Months Ago
Added SkinnedMeshBaker to player model, switches to a non skinned mesh at 10m (obviously too low but good for a/b testing) Added graphics.bakedSkinnedMeshes and graphics.RefreshAllAnimatorLods convars for testing Seems to save about 0.6ms/frame in an isolated bandit town
2 Months Ago
AnimatorLOD now has a BakedSkinnedMesh field, if assigned the skinned mesh will be baked and the LOD will switch to that renderer when the animator is disabled
2 Months Ago
Remove all Linq usage in PlayerModel (not really related to this task but should help garbage)
2 Months Ago
Spawning new player_model prefab with baker component for NPC's
2 Months Ago
Experimenting with a skinned mesh baker to swap out static NPC's with static meshes at a distance Setup baker component, currently spits out a series of static meshes for the given lod level Very WIP