浏览代码

update infiniteProjection usage v0

/main
RSlysz 6 年前
当前提交
a3809f3a
共有 2 个文件被更改,包括 10 次插入3 次删除
  1. 8
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs
  2. 5
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs

8
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs


reflectionProbe.size = size;
reflectionProbe.center = transform.rotation*offset;
}
public override bool infiniteProjection
{
get
{
return base.infiniteProjection || (proxyVolume != null && reflectionProbe.boxProjection);
}
}
}
}

5
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs


set { m_RefreshMode = value; }
}
public bool infiniteProjection
public virtual bool infiniteProjection
return proxyVolume != null
&& proxyVolume.proxyVolume.shape == ProxyShape.Infinite;
return proxyVolume != null && proxyVolume.proxyVolume.shape == ProxyShape.Infinite;
}
}

正在加载...
取消
保存