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
2
Question by georgeq · May 06, 2015 at 10:57 PM · lightingmaterials

How to simulate deep darkenss or complete darkness?

I'm using Unity 5.01f1 Personal...

I have a scene in which I want to simulate different lighting effects, including deep darkness and complete darkness... My Main Cammera's Clear Flags is set to: Solid Color, and Background is set to: black... so I was expecting that by disabling all lights, my Game window would look completely black, as there is no source of light at all... however I still colud see the objects on my scene... a little bit darker, but not enough to make the player to believe all lights are gone... then I remembered there is a Lighting window so I opened up and started playing with the parameters there... I set Ambient Source to: Color, Ambient Color to black and Ambient Intensity to: 0, some of the objects became dark gray but not completely black, while the rest was not affected at all.

All the Materials I'm using employ the Standard Shader with an Opaque Rendering Mode, the objects that were affected by the change in the ambient light have Metalic and Smoothness set to 0, and those not affected have Metalic and Smoothness set to: 1... ok... then I set Reflection Intensity to: 0... and this time I got what I was looking for, a solid black screen... However if I enable the lights again, the objects that have Metalic and Smoothness set to: 1, remain solid black.

This does not make any scence to me... if there isn't any light source and there's no ambient light either, then there's nothing to reflect, so regardless of the shader's parameters all objects should be rendered in solid black, regardless of the Reflection Source and Reflection Intensity parameters... I think the actual reflection intensity should be calculated as: AmbientIntensity*ReflectionIntensity in order to be coherent.

So the question is: How do you simulate deep darkness or complete darkness in a scene containing highly reflective objects???

Comment
Add comment · Show 1
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 qjoman · May 07, 2015 at 08:13 PM 0
Share

By disabling the lights you mean disable the light source? Just a guess, I may be wrong, but if Unity works like Blender, no light source != darkness. Try enabling a light object with $$anonymous$$imum intensity.

0 Replies

· Add your reply
  • Sort: 

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

Emissive material not working despite setting objects to "Static" 10 Answers

Unity 3D Vs 3DS Max Default Models Colors Variance 0 Answers

Neither Emissive Texture or Area Light is Working 0 Answers

Same material different appearance 1 Answer

Disable specular highlights for point lights without shadows 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