blurred outilne
zDemoniac opened this issue · comments
How we can add blur effect to outline?
I tried adding to OnRenderImage()
blur.OnRenderImage(renderTexture, extraRenderTexture);
outlineShaderMaterial.SetTexture("_OutlineSource", extraRenderTexture);
(where blur is added in Start() like
BlurOptimized blur = cameraGameObject.AddComponent();)
but looks like shader can't work with blurred texture
Yeah that won't work, you would have to render the outline (not the outlineSource) to another RenderTexture, blur it, and then merge with the final image