• 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
1
Question by TapanDesai · Sep 11, 2013 at 06:22 AM · sphereglowpointlight

how to make sun?

I am trying to create sun for my project.

Added one sphere, scaled it 2,2,2 Imported Light Flare package Added a point light and added sun flare to it. Increased range from 10 to 50 and intensity from 1 to 8.

But when I run the scene it does not glow like it want it to be. Please have a look at the image for the desired result. I am also attaching the project. Just one scene and 3 objects in it, so can anyone do this for me.!

glowing sun

Download Project Files

glow screen.jpg (16.4 kB)
test light.zip (342.8 kB)
Comment
Add comment · Show 9
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 fherbst · Sep 11, 2013 at 06:23 AM 0
Share

Have you checked "Light Shape visible in renderer"?

avatar image TapanDesai · Sep 11, 2013 at 06:26 AM 0
Share

@felix where can i find it? I am new to unity, I don't know all the options.

avatar image fherbst · Sep 11, 2013 at 06:30 AM 0
Share

Hah, good question,maybe I thought of a different software that has that as option (just looked at the docs). But you can just place a white sphere at your sun's position.

avatar image TapanDesai · Sep 11, 2013 at 06:32 AM 0
Share

@felix please have a look at the image. I want to create something similar to that. Also I've attached my project, if you can spare few $$anonymous$$utes to edit it.

avatar image fherbst · Sep 11, 2013 at 06:37 AM 0
Share

I already took a look and would still say the same. Post an image of what you currently have, not everyone has the time/device to open unity projects...

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by OllyNicholson · Sep 19, 2013 at 04:02 PM

The function of answers is not to have people do the work for you, but rather to advise on how to do things and answer questions.

For the Sun - select an appropriate shader for your sun material, such as self-illum > Diffuse and set a sun colour

For the flare:

So your reference image has a sun with flares coming out in many directions, so you would need to create a flare texture image (or use one created) that provides a semi transparent white shape that approximates the lines and flares excluding the sun shape in your reference image a bit like a star. Fill a star shape in white when you create a texture, then create an alpha channel and fill it with black but copy the star shape at 50% grey This will give you a semi transparent white flare texture when you save a tga or png. Set the appropriate shader such as FX > Flare to your flare material and import and assign the flare texture.

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

18 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Spherical Terrain Object? 4 Answers

Instantiate on the surface of a sphere using Physics.Raycast 1 Answer

How to detect what percentage of an object is inside a trigger? 4 Answers

[SOLVED] Shooting from Elemental Staff 1 Answer

using a sphere 3 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