GPUAnimatorPlugin:GPU 加速动画渲染(蒙皮)

上传者: 42172204 | 上传时间: 2023-02-09 17:01:46 | 文件大小: 12.45MB | 文件类型: ZIP
C#
GPUAnimatorPlugin 有两种GPU加速模式 1,每一帧缓存顶点坐标,顶点着色器根据帧数和顶点编号获取顶点进行渲染; 2,每一帧缓存骨骼变换矩阵,顶点着色器计算蒙皮; 综述 1,模式一,优点几乎不占用cpu和gpu消耗缺点动画文件体积较大(30帧左右,大概3M大小); 2,模式二,优点动画文件体积比原生动画文件还小,不占用CPU,GPU计算蒙皮;缺点GPU压力; 部分算法参考

文件下载

资源详情

[{"title":"( 80 个子文件 12.45MB ) GPUAnimatorPlugin:GPU 加速动画渲染(蒙皮)","children":[{"title":"GPUAnimatorPlugin-master","children":[{"title":"Assets","children":[{"title":"Scripts","children":[{"title":"GPUAnimationList.cs <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"GPUAnimationFrameData.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"IAnimator.cs <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"GPUAnimatorManager.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"GPUAnimationEvent.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"TestGPUAnimator.cs <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"GPUAnimator.cs <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"GPUAnimator.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"GPUAnimation.cs <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"GPUAnimatorManager.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"TestGPUAnimator.cs.meta <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":"GPUAnimation.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"GPUAnimationEvent.cs <span style='color:#111;'> 736B </span>","children":null,"spread":false},{"title":"GPUAnimationList.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"IAnimator.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"GPUAnimationFrameData.cs <span style='color:#111;'> 396B </span>","children":null,"spread":false}],"spread":false},{"title":"Shaders.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Shaders","children":[{"title":"LowPolyPBR-GPUAnimation.shader <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"LowPolyPBR-GPUVertsAnimation.shader.meta <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"LowPolyPBR-GPUVertsAnimation.shader <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"LowPolyPBR-GPUAnimation.shader.meta <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true},{"title":"Editor","children":[{"title":"GPUAnimationCreator.cs.meta <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"GPUAnimationCreator.cs <span style='color:#111;'> 34.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"Scenes.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Scenes","children":[{"title":"TestGPUAnimator.unity.meta <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"TestGPUAnimator.unity <span style='color:#111;'> 12.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"Prefabs.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Editor.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Prefabs","children":[{"title":"BEAR.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"BEAR","children":[{"title":"FBX FILES","children":[{"title":"_AnimationTexture.asset.meta <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"_VertsAnimationTexture.asset.meta <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"BEAR@attack1.FBX.meta <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"_VertsAnimationConfig.asset.meta <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"_VertsAnimationConfig.asset <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"_VertsAnimationTexture.asset <span style='color:#111;'> 4.00MB </span>","children":null,"spread":false},{"title":"BEAR@attack1.FBX <span style='color:#111;'> 267.52KB </span>","children":null,"spread":false},{"title":"_AnimationConfig.asset <span style='color:#111;'> 698B </span>","children":null,"spread":false},{"title":"BEAR@death.FBX <span style='color:#111;'> 288.08KB </span>","children":null,"spread":false},{"title":"_BEAR.asset.meta <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"BEAR@death.FBX.meta <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"BEAR@idle.FBX.meta <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"BEAR.FBX <span style='color:#111;'> 276.36KB </span>","children":null,"spread":false},{"title":"_AnimationConfig.asset.meta <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"BEAR@idle.FBX <span style='color:#111;'> 274.69KB </span>","children":null,"spread":false},{"title":"BEAR.FBX.meta <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"_AnimationTexture.asset <span style='color:#111;'> 64.79KB </span>","children":null,"spread":false},{"title":"_BEAR.asset <span style='color:#111;'> 308.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"FBX FILES.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"TEXTURES","children":[{"title":"BEAR_NRM.PSD.meta <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"BEAR_diff_spec.tga <span style='color:#111;'> 16.00MB </span>","children":null,"spread":false},{"title":"BEAR_NRM.PSD <span style='color:#111;'> 7.11MB </span>","children":null,"spread":false},{"title":"BEAR_diff_spec.tga.meta <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"TEXTURES.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Scripts.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Materials.meta <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Materials","children":[{"title":"LowPolyPBR-GPUVertsAnimation.mat <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"LowPolyPBR-GPUAnimation.mat <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"LowPolyPBR-GPUAnimation.mat.meta <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"LowPolyPBR-GPUVertsAnimation.mat.meta <span style='color:#111;'> 224B </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":".gitignore <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"ProjectSettings","children":[{"title":"ClusterInputManager.asset <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"ProjectVersion.txt <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"UnityConnectSettings.asset <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"QualitySettings.asset <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"EditorSettings.asset <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"ProjectSettings.asset <span style='color:#111;'> 17.62KB </span>","children":null,"spread":false},{"title":"InputManager.asset <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false},{"title":"NavMeshAreas.asset <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Physics2DSettings.asset <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"TimeManager.asset <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"TagManager.asset <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"DynamicsManager.asset <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"NetworkManager.asset <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"EditorBuildSettings.asset <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"GraphicsSettings.asset <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"AudioManager.asset <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitattributes <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"UnityPackageManager","children":[{"title":"manifest.json <span style='color:#111;'> 26B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明