Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hdhhuang committed Jun 22, 2017
1 parent 402bd20 commit d0239ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion PostProcessing/Runtime/Components/DepthOfFieldComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public void Prepare(RenderTexture source, Material uberMaterial, bool antialiasC
material.SetFloat(Uniforms._RcpAspect, 1f / aspect);

// CoC calculation pass
// HACK by hdh, add RenderTextureReadWrite.Linear setting. in DX9 shader model 3 Linear rendering, without this will have bug
var rtCoC = context.renderTextureFactory.Get(context.width, context.height, 0, cocFormat, RenderTextureReadWrite.Linear);
Graphics.Blit(null, rtCoC, material, 0);

Expand Down

0 comments on commit d0239ff

Please sign in to comment.