浏览代码

Reverted wrongly commited test code.

/Branch_Batching2
Julien Ignace 8 年前
当前提交
88a0cfc2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      Assets/ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassForwardUnlit.hlsl

1
Assets/ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassForwardUnlit.hlsl


BSDFData bsdfData = ConvertSurfaceDataToBSDFData(surfaceData);
return float4(Linear01Depth((_MainDepthTexture.Sample(sampler_MainDepthTexture, posInput.positionSS.xy).x), _ZBufferParams).xxx , 1.0);
// TODO: we must not access bsdfData here, it break the genericity of the code!
return float4(bsdfData.color + builtinData.emissiveColor, builtinData.opacity);
}
正在加载...
取消
保存