浏览代码

Missing from previous commit

/LW-DistortionPass
Matt Dean 7 年前
当前提交
1e3fa46e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs

6
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs


private void OpaqueTexturePass(ref ScriptableRenderContext context, FrameRenderingConfiguration frameRenderingConfiguration)
{
var opaqueScaler = m_OpaqueScalerValues[(int)m_Asset.OpaqueTextureScale];
var opaqueScaler = m_OpaqueScalerValues[(int)m_Asset.OpaqueDownsampling];
cmd.GetTemporaryRT(CameraRenderTargetID.opaque, opaqueDesc, m_Asset.OpaqueTextureScale == Downsampling.None ? FilterMode.Point : FilterMode.Bilinear);
switch(m_Asset.OpaqueTextureScale)
cmd.GetTemporaryRT(CameraRenderTargetID.opaque, opaqueDesc, m_Asset.OpaqueDownsampling == Downsampling.None ? FilterMode.Point : FilterMode.Bilinear);
switch(m_Asset.OpaqueDownsampling)
{
case Downsampling.None:
cmd.Blit(m_CurrCameraColorRT, CameraRenderTargetID.opaque);

正在加载...
取消
保存