浏览代码

HDRenderLoop: Correction to depth offset added

/main
Sebastien Lagarde 8 年前
当前提交
e0e583ec
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 4
      Assets/ScriptableRenderLoop/HDRenderLoop/ShaderPass/ShaderPassDepthOnly.hlsl
  2. 4
      Assets/ScriptableRenderLoop/HDRenderLoop/ShaderPass/ShaderPassForward.hlsl
  3. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/ShaderPass/ShaderPassGBuffer.hlsl

4
Assets/ScriptableRenderLoop/HDRenderLoop/ShaderPass/ShaderPassDepthOnly.hlsl


#endif
void Frag( PackedVaryings packedInput,
outColor SV_Target
out float4 outColor : SV_Target
float outputDepth : SV_Depth
, out float outputDepth : SV_Depth
#endif
)
{

4
Assets/ScriptableRenderLoop/HDRenderLoop/ShaderPass/ShaderPassForward.hlsl


#endif
void Frag( PackedVaryings packedInput,
outColor SV_Target
out float4 outColor : SV_Target
float outputDepth : SV_Depth
, out float outputDepth : SV_Depth
#endif
)
{

2
Assets/ScriptableRenderLoop/HDRenderLoop/ShaderPass/ShaderPassGBuffer.hlsl


OUTPUT_GBUFFER(outGBuffer)
OUTPUT_GBUFFER_VELOCITY(outVelocityBuffer)
#ifdef _DEPTHOFFSET_ON
float outputDepth : SV_Depth
, float outputDepth : SV_Depth
#endif
)
{

正在加载...
取消
保存