• 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
Question by Rice_Muncher · Jan 19, 2021 at 04:24 PM · first-person-controller

Why does an object change color depending on where I look

I made a scene with a Player which can move and look around, and a big dark blue rectangle as the floor. However, when I look forward the rectangle looks gray/light blue.alt text

However, when I look straight down it is the color its supposed to be(dark blue).

alt text

I also put walls around before with the same color and the same thing happened, they were gray.

screenshot-2021-01-19-110747.png (130.3 kB)
screenshot-2021-01-19-110809.png (53.4 kB)
Comment

People who like this

0 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 undevable · Jan 19, 2021 at 07:06 PM 0
Share

Try to check the size of the dark-blue floor you put.

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by Eno-Khaon · Jan 19, 2021 at 07:20 PM

Assuming you haven't done anything else yourself, the floor is using the Standard shader, built on the principles of "Physically-Based Rendering" (often referred to as PBR). A common attribute of "realistic" materials is that they reflect different amounts of light when viewed at a steep angle.

In this case, you're likely seeing the color of the skybox (light blue) being blended into your ground, further mixed in with a greater brightness attributed to "Rim Lighting" (likely white), also provided by the same shader.

Comment

People who like this

0 Show 6 · 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 Rice_Muncher · Jan 19, 2021 at 07:25 PM 0
Share

Is there a way to change the material/shader so this doesnt happen?

avatar image Eno-Khaon Rice_Muncher · Jan 19, 2021 at 07:47 PM 0
Share

If you create a new Material, it will also have the Standard shader assigned to it, but it will be configurable. You can try changing the properties of that Shader or assign a new one (or even create your own Shader and assign it to the Material).

At any time during this, you can apply the Material onto your GameObject (the floor) to see the immediate results of any changes you're making to it.

avatar image Rice_Muncher Eno-Khaon · Jan 19, 2021 at 08:19 PM 0
Share

So far, nothing has worked. Also, I changed the color of the skybox and the color of the rectangle stayed the same.

Show more comments

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

My player looks up, down but not left,right 0 Answers

Cursor not getting centered 0 Answers

Physics based player controller problems 1 Answer

How do I fix Camera stuttering in first person? 1 Answer

First Unity tryOut - First Person Controller makes all objects just Float away... 3 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