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
1
Question by Dreamhaxor · Jan 13, 2014 at 07:17 PM · lightingdarkness

How to make complete darkness

How to make complete darkness, and only things affected by a light source visible. The camera not connected to the player, and is not the light source.

Ok, so, i have a camera looking downward where the player and everything is. i want to make it, so that the only thing that can be seen is the player, the things affected by the the spot light, and some other random things that have spot lights (and the things affected by their spot light). NOTE again that the camera is not connected to the player and can move freely around (like a camera in a strategy game). Thx in advance.

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

5 Replies

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

Answer by robertbu · Jan 13, 2014 at 07:18 PM

Not sure if this gets you all the way there, but go to Edit > Render Settings and edit Ambient Light so that it is full black.

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 Dreamhaxor · Jan 13, 2014 at 07:27 PM 0
Share

thx that worked. now i just need to fiddle around with the light to get it all right.

avatar image
3

Answer by kernjiro · Aug 20, 2017 at 11:29 PM

It's now in Window > Lighting in unity 5

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

Answer by valrossen_Oliver · Jan 13, 2014 at 08:17 PM

If you know the item your trying to make visible. Just change gameObject.layer to the value of the layer that you want! Hope it Helped! :)

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 Kalleponken2010 · Sep 12, 2015 at 05:59 PM -1
Share

there is no renderer settings in unity 5

avatar image getyour411 Kalleponken2010 · Sep 12, 2015 at 06:55 PM 0
Share

@$$anonymous$$alleponken2010

A. That is not an Answer, please don't post a comment or follow-up as a such (I changed it for you). B. There are RendererSettings, where did that piece of misinformation come from?

avatar image
0

Answer by RareGuy · Dec 30, 2015 at 11:53 AM

Try using a different skybox.

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

Answer by OGDE01 · Mar 04, 2019 at 11:18 PM

What I did to create pure darkness was created a new material with the "Skybox/6 Sided" shader. I didn't add any textures to the material, just changed the tint color to black. Then just drag it in the scene and remove all the lighting!

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

22 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

Related Questions

the easiest way to mask my scene 2 Answers

Pure black lighting 2 Answers

Extremely dark Buildings produced on Unity asset (Help!! Its very urgent) 0 Answers

How can I make the overall color pitch black? 1 Answer

How can i make the game area pitch black 2 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