基于unity Azure Kinect VFX粒子互动环境搭建

环境准备

1.导入Azure Kinect Examples for Unity.unitypackage

2.package Manager中下载两个插件

Visual Effect Graph

High Definition RP

基于unity Azure Kinect VFX粒子互动环境搭建

 

 

3.在Project中创建一个HDRenderPipelineAsset

并添加到ProjectSettings Graphics中

基于unity Azure Kinect VFX粒子互动环境搭建

 

 

如果报错

High Definition Render Pipeline doesn't support Gamma mode, change to Linear mode (HDRP isn't set up properly. Go to Windows > RenderPipeline > HDRP Wizard to fix your settings).

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

进行如下设置

 

4.Color Space中 Gamma要改成Linear

 

基于unity Azure Kinect VFX粒子互动环境搭建

 

项目解析

1.打开项目VfxPointCloudDemo

基于unity Azure Kinect VFX粒子互动环境搭建

 

2.项目中VfxPointCloud 粒子系统需要双击打开编辑一下才能够在项目中运行,可能是需要编译一下

基于unity Azure Kinect VFX粒子互动环境搭建

 

3.运行

基于unity Azure Kinect VFX粒子互动环境搭建

 

 

感谢各位资源提供者

 

Azure Kinect Examples for Unity.unitypackage

请到unity asset store中购买下载

 

粒子互动效果

直接可以用的K4A-VFX.unitypackage

https://ratemt.com/downloads/kinect/K4A-VFX.zip

 

一些粒子效果案例

https://github.com/roelkok/Kinect-VFX-Graph

https://github.com/keijiro/Rsvfx

https://github.com/keijiro/VectorFieldExamples

https://github.com/keijiro/LaspVfx