浏览代码

enable trilinear on panos for ibl on mobile

enable trilinear on panos for ibl on mobile
/main
mmikk 8 年前
当前提交
36652038
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 4
      Assets/ScriptableRenderLoop/common/TextureCache.cs

4
Assets/ScriptableRenderLoop/common/TextureCache.cs


m_CacheNoCubeArray = new Texture2DArray(m_PanoWidthTop, m_PanoHeightTop, numCubeMaps, TextureFormat.RGBAHalf, isMipMapped)
{
hideFlags = HideFlags.HideAndDontSave,
wrapMode = TextureWrapMode.Repeat
wrapMode = TextureWrapMode.Repeat,
filterMode = FilterMode.Trilinear,
anisoLevel = 0
};
m_NumPanoMipLevels = isMipMapped ? GetNumMips(m_PanoWidthTop, m_PanoHeightTop) : 1;

正在加载...
取消
保存