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 Dungeon · Jan 23, 2013 at 06:09 AM · flashlightdark

How to make it dark

I have just started to make a slender game. I am using a spotlight as a flashlight, but the world is not dark enough without it. when I turn it off, I can still see everything around me very clearly. Is there a way to make it darker?

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

2 Replies

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

Answer by AlucardJay · Jan 23, 2013 at 07:21 AM

Set the render settings.

In Unity, navigate to Edit > Render Settings

Enable (tick) the box that says Fog.

Click the Fog Colour box, set the ambient light to 29 on each of the RGB sliders. You can see the change in the scene, pick a colour that is dark but not pitch-black.

Click the Ambient Light Colour box, set the ambient light to 51 on each of the RGB sliders. You can see the change in the scene. Again, pick a colour that is dark but not pitch-black.

Comment
Add comment · Show 8 · 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 JASPER1O6 · May 06, 2015 at 12:38 PM 0
Share

I'm in Unity3D 5 and I cannot find the Render Settings option in edit. How else can I do this just in Unity3D 5?

avatar image DontShooot · May 06, 2015 at 12:41 PM 0
Share

It's in Window->Lighting

avatar image Nova-1504 · Nov 21, 2016 at 05:46 PM 0
Share

Where is the Ambient Light Colour thing?

avatar image Nova-1504 · Nov 21, 2016 at 05:47 PM 0
Share

Wait it's not working at all. Does this work in 2d?

avatar image tanoshimi Nova-1504 · Nov 21, 2016 at 05:53 PM 0
Share

Yes, it works in 2D.

avatar image Nova-1504 · Nov 21, 2016 at 06:36 PM 0
Share

Do I set it to Exponential, Exponential Squared or Linear? And again, where is mentioned Ambient light color box

avatar image Nova-1504 Nova-1504 · Nov 21, 2016 at 06:39 PM 0
Share

Do I have to set the camera to skybox, solid color, something like that?

avatar image Nova-1504 Nova-1504 · Nov 21, 2016 at 06:46 PM 0
Share

Ok found the Ambient light thing but it still won't work. What's going on?

avatar image
0

Answer by DontShooot · Jan 23, 2013 at 06:57 AM

http://habrahabr.ru/post/165563/ May be this can help you. This article is in Russian, but you can see pictures and if you'll like it you can get shader here https://gist.github.com/4517834

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

14 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

Related Questions

Very bright flaslight in world. The beam is not strong enough 0 Answers

How do i make it darker? 2 Answers

Augmented Reality in the Dark? 0 Answers

why cant i make my game pitch black darkness? 1 Answer

How do I make "Bootcamp" dark? 1 Answer


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