• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by AliAzin 1 · Feb 13, 2010 at 07:53 AM · shaderreflection

Is there any way to blur the result of mirror reflection shader?

Hi, Does anyone know how to make blured real-time reflections.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

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

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AliAzin 1 · Feb 13, 2010 at 11:52 AM 0
Share

that's correct , but how can I enable filtering for reflection texture? in mirror reflection shader, renderToTexture is generated inside script itself.

avatar image duck ♦♦ · Feb 13, 2010 at 01:28 PM 0
Share

(I've edited the question to answer this)

avatar image AliAzin · Feb 14, 2010 at 07:16 AM 0
Share

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.

avatar image
0

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Layer Dependent Reflections 1 Answer

Can anyone help me with reflective shader with fall off property? 0 Answers

Reflection Shader 0 Answers

Reflection as ambient lighting. 0 Answers

Reflection Bump Shader strange artifacts 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges