Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by NhommeBeurreOne · Aug 18, 2012 at 01:23 AM · javascript

Simulate Motion Blur

Hello Guys,

A couple of days ago, I got that flash: Why not add Motion Blur to your shell for more realistic shooting?
The problem: I do not have Unity Pro. My question is do you know any way how to simulate Motion Blur in the Indie Version of Unity. I make search and find that the Motion Blur in the Pro License is a script and I also find this Trail Renderer. Just want to know if you know any way for simulate Motion Blur or tips for creating a prototype using the methods I previously explain.

Best Regards,
Nb1

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by qwee · Aug 18, 2012 at 07:58 PM

Hi for the motion blur effect you can find a code on-line that make this though you haven't got Unity Pro. Look this site http://forum.unity3d.com/threads/61133-Motion-blur-for-Unity-3. I think that this can work. Let me know.

Comment
Add comment · Show 1 · 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 NhommeBeurreOne · Aug 19, 2012 at 06:29 PM 0
Share

I think I need Unity Pro to used this package.

avatar image
0

Answer by ScroodgeM · Aug 18, 2012 at 07:32 PM

solution 1

trail renderer. this can render an object's trail to make a visual effect of some trail in world. with some artistic customizing can be a good solution

solution 2

in the real world motion blur is caused by camera's exposure. object moves while one frame in real camera is making and this makes a trail of object in one frame. this can be reproduced by rendering an object in more then one position. for example, bullet object rendered in it's real position, and some other semi-transparent bullets can be rendered as a trail behind the bullet. this can make motion blur for bullet only.

if you want to make motion blur for whole screen, you need to save some frames rendered (from 1 to 3 usually) and blend every new frame with these saved before (for example, 50% of new just rendered frame, 25% for 1 frame before, 12% for -2 and -3 frames). this will make more realistic motion blur like it looks at real cameras.

Comment
Add comment · Show 2 · 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 NhommeBeurreOne · Aug 19, 2012 at 06:30 PM 0
Share

How could achieve the solution 2? Using a script?

avatar image ScroodgeM · Aug 20, 2012 at 10:47 PM 0
Share

blur for bullet only can be achieved without script.

just duplicate the bullet about 10 times and place it one-follows-others (in "train"). remove all components from copies except $$anonymous$$eshRenderer and $$anonymous$$eshFilter, these two needed for visual rendering.

to make realistic effect you also need to make bullets more transparency as it goes farther from original bullet from opaque to invisible

now save all bullets as a single prefab and use it as before.

to got 1 drawcall you need also combine mesh with vertex colors to use single material, but this is another story. try it first and feedback if it's O$$anonymous$$.

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.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can someone help me fix my Javascript for Flickering Light? 6 Answers

Setting Scroll View Width GUILayout 1 Answer

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Javascript in Unity, Including iPhone API's (Objective C?) 2 Answers

Object reference not set to an instance of an object 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