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 crtapps · Aug 13, 2012 at 03:54 PM · light

Why I can see object in a scene without any lights?

Recently I create a scene and put a Cube in front of camera, there is only one cube in the scene, without any lights. I run the game by Play button and I found i still can see the cube with its default material color. I wonder why I can see an object without lighting it. Is the default material emit light? BTW: I have already closed the default light in the Scene view.

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
1

Answer by DaveA · Aug 13, 2012 at 07:32 PM

The Ambient light is probably not exactly black.

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 crtapps · Aug 14, 2012 at 06:33 AM 0
Share

Thx Dave, I found the Ambient Light in Render Settings.

avatar image Bunny83 · Aug 14, 2012 at 12:55 PM 0
Share

Good to have multiple $$anonymous$$ds on the same question ;)

+1

avatar image
0

Answer by Bunny83 · Aug 13, 2012 at 03:58 PM

It's because the default clear-color of your camera is this nice blue. The cube is rendered totally black since it's not lighted. When you set a black clear color, you won't see the cube.

Note that there are also shaders that a "Self-Illuminated". Those don't require any lights.

Hopefully you know that lighting is always faked in computer graphics. There is not light that sends out rays which would hit the surface. The cube is always drawn. The shader checks where the light is and calculates the shades for each fragment. That's why it's called "shader" ;)

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 crtapps · Aug 14, 2012 at 06:33 AM 0
Share

Thx Bunny, I found the reason. There is a Ambient Light with White Color in Render Settings.

avatar image Bunny83 · Aug 14, 2012 at 12:55 PM 0
Share

Ahh, sure, totally forgot about the ambient light.

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

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why isn't my flashing script working? 1 Answer

Rendering sun-shafts even when light is not in view. 0 Answers

Flashlight Flickering 1 Answer

Lights only work when I look at the ground. 0 Answers

What is global illumination and how is it used? 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