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 Adnan_Asif · Mar 18, 2015 at 06:13 PM · lighteffectslights

create flashing light effect for ambulance

Hello, I'm working on a traffic game (3D). And I need to implement ambulance siren light effect. I have read other posts on forum but no one served the purpose. They all tend to discuss the switching lights on and off pattern and scripting side of the problem. I am having issues with the lights setup in the unity editor.

What I have tested:

  • used self Illumination shader on light modal and put a point light inside it.

  • used glass shaders found on asset store, for light modal and putting point light in it.

  • tried rotating a spot light on the ambulance roof.

  • used Halo effect

  • particle system that emits only one particle and use default-particle material. I'm changing the 'size over life time' property to mimic light spreading in environment.

Glass Shader Link : http://wiki.unity3d.com/index.php/Glass_Shader
https://www.assetstore.unity3d.com/en/#!/content/729

Rotating Spot Light link: http://www.ytpak.com/?component=video&task=view&id=AKJZVzkX4d8

What is the main issue in all approaches:

light becomes visible only when casted on a mesh. I want the light to go out in environment (in the air).

I have also tried using a quad with default-particle material and casted light on it with a spot light to show light spreading in air, but it doesn't produce a 3D effect.

What I actually need:

Flashing ambulance lights which produce 3d effect and is easily visible in the traffic of around 10-15 other vehicles from at least 50 units above the ground.
It would be very grateful if someone could help me find a better solution.

Comment
Add comment · Show 2
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 siaran · Mar 20, 2015 at 08:50 PM 0
Share

it's not exactly clear to me what you mean with 3d light effect. I mean, it sounds like you want some kind of halo or lens flare effect with your lights?

do you have an example image of the effect you want? that might help.

avatar image Adnan_Asif · Mar 22, 2015 at 09:47 AM 0
Share

I want to create something like this.

red.png (211.7 kB)
blue.png (215.0 kB)

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by AndrewToth · Mar 20, 2015 at 11:35 PM

I think you need a lightcone. it`s basically just a simple cone to simulate lightshafts.

In this post you can even find a working example. http://forum.unity3d.com/threads/how-to-create-a-light-cone-or-shaft-of-light.2660/

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 Adnan_Asif · Mar 22, 2015 at 09:54 AM 0
Share

yes this is close to my needs. so, I need to create star likes transparent meshes to get the effect as shown it the images shown in the above comment. Thanks for referring to volumetric light concept.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

2d volumetric lighting, light behind background 1 Answer

Lighting not consistent 0 Answers

Why does some lights change after using generate lighting ? 1 Answer

floor lighting and item lighting is unbalanced 0 Answers

How to make a shiny, transparent mesh ? 0 Answers


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