Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 TrinityK · Jul 18, 2017 at 07:07 PM · lightingdistanceemissionemissive

Getting an extremely bright object (the sun) visible from an extreme distance?

  1. List item

I'm making a space scene that contains the Earth, Moon, and Sun. The distance between the Earth and Sun are extreme (about 43000 along the y-axis, aligned on the other axis). My sun is just an emissive sphere with a point light inside. I expanded the range and intensity, but no matter what I do, the sun is not visible from a spot near Earth. I know the light is hitting Earth (the half facing the sun is illuminated). However, how can I make it so I can see an illuminated sphere (the sun) from a location near the Earth?

Sun up close: image?![alt text] (C:\Users\KyraT\OneDrive\Pictures\Screenshots\2017-07-18 (1).png)

Next to Earth looking at Sun: image?![alt text] (C:\Users\KyraT\OneDrive\Pictures\Screenshots\2017-07-18.png)

Comment
Add comment · Show 3
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 rageingnonsense · Jul 18, 2017 at 07:24 PM 0
Share

Can you post a screenshot of the issue, and also maybe an example image of the effect you want?

avatar image TrinityK rageingnonsense · Jul 18, 2017 at 07:49 PM 0
Share

Sorry, my pictures aren't working. Here's a link to them:

https://drive.google.com/drive/folders/0B71RFLqR8I1rTm1XUXBOYk82SGs?usp=sharing

One is the sun close up, the other is the Earth looking towards the Sun (however, all you can see is black space).

avatar image TrinityK rageingnonsense · Jul 19, 2017 at 03:56 PM 0
Share

https://img.purch.com/w/660/aHR0cDovL3d3dy5saXZlc2NpZW5jZS5jb20vaW1hZ2VzL2kv$$anonymous$$DAwLzAz$$anonymous$$S8wODkvb3JpZ2luYWwvZWFydGgtb3JiaXQtc3VuLmpwZw==

That is a link to the effect I was hoping for.

@rageingnonsense

2 Replies

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

Answer by OliverAnthony · Jul 19, 2017 at 04:56 PM

Check you Camera's clip planes.

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 TrinityK · Jul 19, 2017 at 05:33 PM 0
Share

Thanks for the advice; the sun from Earth's distance actually won't appear in the scene view either though.

avatar image TrinityK · Jul 19, 2017 at 08:46 PM 0
Share

(Thanks so much this helped with the camera!) Is there a way you can change the clip plane just for general viewing in the scene window?

avatar image OliverAnthony · Jul 20, 2017 at 01:37 AM 0
Share

I can't guarantee it will work, but you could set up an editor script that changes the SceneView camera's clip plane in the same way. FYI the SceneView class is undocumented (last I checked, which admittedly was quite a while ago), so any solution could break without warning in a future release.

avatar image
1

Answer by Habitablaba · Jul 19, 2017 at 09:14 PM

You could create a second camera that is close to your sun object, then make it clear depth only, and cull the sun only (make a layer for the sun). Then you can change your other camera to cull everything but the sun.

You'll need to play with distance, size, FOV, etc. for the 2nd camera to get the look you're after

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.

Follow this Question

Answers Answers and Comments

84 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 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 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 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 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

Certain colors of emissive material causing white outlines on objects 1 Answer

Material emission animation through script is not lighting anything 1 Answer

Surface shader: modify the emission with lighting? 3 Answers

Where does an emissive quad produce light? 0 Answers

Realtime emission material during runtime 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