Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Blay09 · Apr 14, 2018 at 08:59 AM · shaderlightingmaterialorthographic

Directional light causing weird reflection in orthographic game view


Scene Setup / Other Info:


  • Unity Version 2017.3.1.f1 Personal (tried on 2018 beta as well, same issue)

  • PC, Mac & Linux Standalone*

  • Orthographic Camera at y5 with 45° on X and Y

  • Directional Light with 45°/90° on X and Y (Realtime)

  • Textured Plane (Standard Shader, not static)

  • Colored Capsule (Standard Shader, not static)


    Problem:


For some reason the capsule receives an odd shine / bright line on it, however this only happens on the Game View. The Scene View looks correct, even when putting the scene view into Iso mode and aligning the cameras the exact same.
Here is a comparison image of both Scene View (left, correct) and Game View (right, wrong) next to each other:


Comparison of Scene and Game View


The light appears to be dependent on the position of the capsule and the camera, so it seems to be some kind of unwanted reflection.
Does anyone know what might be causing this? Is there some magic setting I missed?


Things I've tried:


  • Turning off Specular Highlights and Reflections in the Material does not help

  • Turning Smoothhness down to 0 seems to remove the odd reflection, but once a texture is applied it's visible again (much stronger)

  • I've tested multiple textures and played with the UV offset to confirm that I'm seeing lighting and it's not just the texture color

This is quite problematic as it turns people into Iron Man depending on their position on the screen.


Comparison with a textured capsule

blue.png (493.9 kB)
skin.png (507.9 kB)
Comment
Add comment · Show 8
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 TanselAltinel · May 09, 2018 at 12:38 PM 0
Share

Can you also share a screen of your hierarchy window?

avatar image Blay09 TanselAltinel · May 09, 2018 at 01:16 PM 0
Share

The hierarchy is very simple. I've also uploaded the test project I used to reproduce the problem.

Hierarchy

Test Project

ortholighttest.zip (32.0 kB)
hierarchy.png (5.6 kB)
avatar image TanselAltinel Blay09 · May 09, 2018 at 01:22 PM 0
Share

So I wager you already deleted the default reflection probe. Can you try to clear lightmap data from scene? It's under Window->Lightning

Show more comments

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

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

Reflector shader? (not reflection) 1 Answer

How to light back side of quad mesh same way as front side? 1 Answer

Shader or Lighting problem? 0 Answers

Pinball playfield lighting 1 Answer

Static+Real Time lighting in Angry Bots Demo 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