浏览代码

use BC6H instead of DXT5

use BC6H instead of DXT5
/main
mmikk 8 年前
当前提交
e7419ce5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderLoop/fptl/FptlLighting.cs

2
Assets/ScriptableRenderLoop/fptl/FptlLighting.cs


m_cubeReflTexArray = new TextureCacheCubemap();
m_cookieTexArray.AllocTextureArray(8, 128, 128, TextureFormat.Alpha8, true);
m_cubeCookieTexArray.AllocTextureArray(4, 512, 512, TextureFormat.Alpha8, true);
m_cubeReflTexArray.AllocTextureArray(64, 128, 128, TextureFormat.DXT5, true);
m_cubeReflTexArray.AllocTextureArray(64, 128, 128, TextureFormat.BC6H, true);
m_DeferredMaterial.SetTexture("_spotCookieTextures", m_cookieTexArray.GetTexCache());

正在加载...
取消
保存