浏览代码

Merge pull request #1314 from Unity-Technologies/volumetric-lighting-updates

Refresh atlas on volume deletion
/main
GitHub 7 年前
当前提交
8d7b737d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Volumetrics/DensityVolumeManager.cs

3
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Volumetrics/DensityVolumeManager.cs


{
volumeAtlas.RemoveTexture(volume.parameters.volumeMask);
}
//Upon removal we have to refresh the texture list.
TriggerVolumeAtlasRefresh();
}
public DensityVolume[] PrepareDensityVolumeData(CommandBuffer cmd)

正在加载...
取消
保存