浏览代码

get rid of deprecated version

get rid of deprecated version
/main
mmikk 8 年前
当前提交
ec503282
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      Assets/ScriptableRenderLoop/fptl/ReflectionTemplate.hlsl

3
Assets/ScriptableRenderLoop/fptl/ReflectionTemplate.hlsl


half mip = perceptualRoughness * UNITY_SPECCUBE_LOD_STEPS;
half4 rgbm = UNITY_SAMPLE_TEXCUBEARRAY_LOD(tex, float4(glossIn.reflUVW.xyz, sliceIndex), mip);
//return rgbm.xyz;
return DecodeHDR_NoLinearSupportInSM2 (rgbm, hdr);
return DecodeHDR(rgbm, hdr);
}

正在加载...
取消
保存