public GrabBlurPassImpl(RenderTargetHandle colorHandle) { m_Blur = new CommandBufferBlur(); m_BlurTemp1.Init("_Temp1"); m_BlurTemp2.Init("_Temp2"); m_ScreenCopyId.Init("_ScreenCopyTexture"); }
public GrabBlurPassImpl(RenderTargetHandle colorHandle) { m_ColorHandle = colorHandle; m_Blur = new CommandBufferBlur(); m_BlurTemp1 = Shader.PropertyToID("_Temp1"); m_BlurTemp2 = Shader.PropertyToID("_Temp2"); }
public void Setup(RenderTargetIdentifier source, RenderTargetHandle destination) { this.source = source; this.destination = destination; m_Blur = new CommandBufferBlur(); m_BlurTemp1 = Shader.PropertyToID("_Temp1"); m_BlurTemp2 = Shader.PropertyToID("_Temp2"); }
public PerObjectBloomRenderer() { m_Blur = new CommandBufferBlur(); m_BlurTemp1 = Shader.PropertyToID("_Temp1"); m_BlurTemp2 = Shader.PropertyToID("_Temp2"); m_MaskedBrightnessBlit = CoreUtils.CreateEngineMaterial(k_MaskedBightnessBlitShader); m_AdditiveBlit = CoreUtils.CreateEngineMaterial(k_AdditiveBlitShader); }