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 kenshen · Nov 21, 2011 at 07:42 AM · lightingglow

one more quick question if you will

Hey everyone I had my earlier question about lighting answered but I have one more quick question I would like to ask. The scene I'm working on for those that didn't read my last question is a scene in a 3d rpg game I'm working on where a hero gets teleported by a friend to a dimension he created where everything is black. His friend is sitting about an hours walk from where the hero is by a camp fire. So in order to show the hero where he is using the campfire he puts up a glow in the sky like a rainbow. So my question is how do i achieve that glow effect and how do i make it disappear as the hero gets closer?

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 CHPedersen · Nov 21, 2011 at 08:25 AM 0
Share

I like the game idea. :) But I'm afraid it will be very hard for people to help answer this question because it's hard to narrow it down to technicalities just from the information you've given.

Ins$$anonymous$$d of presenting the gameplay/storyline idea, focus on describing the technical aspects of the game. Is this an FPS-style game? A 2D scroller? A platformer? Is it viewed from above? From the side?

If I were to venture a first guess, I'd say it sounds like this "glow" thing is like a flaregun, like an emergency distress signal from a ship? Take a look at particle systems, how to emit a single particle, and perhaps think about attaching a lightsource to the flare, so that it can light up its surroundings.

If this is not what you were thinking, you need to describe your scene in greater technical detail.

avatar image kenshen · Nov 21, 2011 at 12:51 PM 0
Share

Alright well first off this game will be a active battle system rpg. The glow is not so much a flare gun its just this glow in the sky that disappears when you get closer to the location of the campfire where the friend is sitting at.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Tocaro · Nov 21, 2011 at 08:26 AM

Probably a combination of particle effects and a script adjusted spotlight. Go to the game objects menu and click create other, find and click the particle system. Once it's in, start adjusting values till you get the effect you like.

Then you'll need to modify the particle system so that the particles shrink or whatnot the closer the hero gets.

Use this:

 var dist = Vector3.Distance(Hero.position, Campfire.position)

Read the dist between the two and adjust your particles and spotlight accordingly(use in Update() or an invoke repeating).

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 kenshen · Nov 22, 2011 at 02:28 AM 0
Share

That doesn't look right since the particles sparkle out. I just need a gold rainbow like glow effect that disappears when you get closer it isn't very bright any one have any ideas?

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

Neon light or LED light 1 Answer

How do I do neon/glowing effect? 3 Answers

Some lighting advice, please 2 Answers

Making glowing lines and shapes 1 Answer

Glow Plane Trigger 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