- Home /
Is there any way to blur the result of mirror reflection shader?
Hi, Does anyone know how to make blured real-time reflections.
Answer by duck · Feb 13, 2010 at 09:45 AM
A simple method might be to just use a fairly small texture size for the reflection. The resulting filtering might (or might not) be enough of a blurry effect for you needs.
For more information on controlling the filtering of render textures which are created at runtime, check out the "useMipMaps" and "filterMode" variables, listed on this page:
http://unity3d.com/support/documentation/ScriptReference/RenderTexture.html
that's correct , but how can I enable filtering for reflection texture? in mirror reflection shader, renderToTexture is generated inside script itself.
thanks for answer, but I couldn't set that. I set the use$$anonymous$$ip$$anonymous$$ap to true and filtering to Trilinear , but nothing has changed.
Answer by Greg 2.du · Apr 16, 2010 at 06:42 AM
Its a rather old question, but this is what I did here: http://forum.unity3d.com/viewtopic.php?t=49328
Hope it helps Greg
Answer by efge · Feb 13, 2010 at 09:34 AM
Not exactly what you where asking for, but you can do it 'by hand':
If you have Pro you could create a Render Texture and a camera, set the Render Texture as Target Texture and the Blur effect as a component for this camera. The Render Texture works then as a standard Texture2D.
Your answer
Follow this Question
Related Questions
reflective glass shader 3 Answers
Surface Reflection Shader with Shadows 0 Answers
Iphone Shader Reflection Map 0 Answers
Reflection shader color issue 0 Answers
Reflective surface/texture bug in build only (works in play mode in editor) 1 Answer