浏览代码

Fixes in search paths

/feature-volume-editor
peeweek 6 年前
当前提交
0a5f5c9b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      com.unity.vfx-toolbox/VolumeEditor/Editor/Renderers/VectorFieldVolumeRenderer.cs

4
com.unity.vfx-toolbox/VolumeEditor/Editor/Renderers/VectorFieldVolumeRenderer.cs


m_SlicePosition = 0.5f;
m_PreviewMeshMaterial = new Material(Shader.Find("Hidden/VFXToolbox/VolumeEditor/VolumeTrail"));
m_HeatMap = new List<Texture2D>();
m_HeatMap.Add(AssetDatabase.LoadAssetAtPath<Texture2D>("Assets/VFXToolbox/VolumeEditor/Editor/Textures/heatmap.tga"));
m_HeatMap.Add(AssetDatabase.LoadAssetAtPath<Texture2D>("Assets/VFXToolbox/VolumeEditor/Editor/Textures/heatmap2.tga"));
m_HeatMap.Add(AssetDatabase.LoadAssetAtPath<Texture2D>("Packages/com.unity.vfx-toolbox/VolumeEditor/Editor/Textures/heatmap.tga"));
m_HeatMap.Add(AssetDatabase.LoadAssetAtPath<Texture2D>("Packages/com.unity.vfx-toolbox/VolumeEditor/Editor/Textures/heatmap2.tga"));
m_PreviewMeshMaterial.SetInt("_NumPointsPerTrail", NUM_POINTS_PER_TRAIL);
}

正在加载...
取消
保存