浏览代码

Reset allocation status flag.

/main
Paul Melamed 6 年前
当前提交
3f7e7fef
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs

1
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs


m_TextureList.Sort(); // sort the texture list largest to smallest for better packing
Atlas.ResetAllocator(); // clear all allocations
// try again
m_AllocationSuccess = true;
foreach (TextureScaleBias textureScaleBias in m_TextureList)
{
AddTexture(cmd, textureScaleBias);

正在加载...
取消
保存