• 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 benjaminholmes · Apr 27, 2015 at 11:10 AM · lightingisometricglobaldirectionalflat

Flat lighting for 3D game with Orthographic camera

Hi,

I'm working on an isometric view 3d game, focussing around a player object jumping up stairs. My camera has been set to Orthographic, and I've selected 'no shadows' under my directional light.

I'm not getting my desired result. The top stairs are rendered differently to the top, middle and bottom stairs. The shading amount varies as the stairs descend. I wondered if there was a setting (for the light and/or materials of the steps) that could ensure they are all rendered equally. The frame is static, no camera movement up or down the stairs.

I've tried rotating the directional light but there is always a spot that seems darker and a spot that seems lighter across the stairs, no matter what angle. Re-positioning the light does nothing. Also, changing the light intensity does not help, as I lose my desired step shade altogether.

The lighting seems to work fine when everything is positioned along the xz axis (flat ground), but because I have steps that ascend it's thrown my lighting right off.

Anything you could share with me to help would be greatly appreciated!

Thanks,

Ben

Comment
Add comment · Show 2
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 Umresh · Apr 28, 2015 at 01:45 PM 0
Share

Try using the unlit shader.

avatar image J.Mad · Jun 03, 2015 at 09:15 PM 0
Share

I have a similar problem. Legacy shader diffuse works without this bug.

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by memorymod · Jun 03, 2015 at 11:45 PM

There's an option in the lighting window called "Ambient Lighting" (Or render settings depending on if you're under 5.0) Just adjust that variable to your liking and it will change the scenes global lighting and you won't need to use directional lights at all. (Hope that made sense, I'm running off two hours of sleep right now :S )

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
avatar image
0

Answer by SuperFrofessional · Jun 16, 2015 at 05:39 AM

but ambient lighting still feels a bit like a huge low-powered light source. everything takes on a slightly washed-out look. what if you want to create an orthogonal game like Crossy Road with really rich colors and no shadows.

Comment
Add comment · Show 1 · 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 memorymod · Jun 16, 2015 at 09:38 PM 0
Share
  1. Don't reply to an answer with another answer. Use the "add new comment" button by the answer (Admins frown upon this)

  2. I see what you mean. Have you tried baking your scene??

avatar image
0

Answer by radim1 · Dec 08, 2016 at 09:31 PM

Lighting like in Crossy Road is done through Shaders. Just look for Toon Shaders.

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
avatar image
0

Answer by aidan7501 · Dec 09, 2016 at 04:44 AM

change the shader of the material to unlit

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

8 People are following this question.

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

Related Questions

Directional Light creates wierd shadow? 2 Answers

GameObjects Do Not Appear In Direction Light While Hard/Soft Shadows Are On 0 Answers

[Q] How do I make a light influence only one object? 1 Answer

ugly shadows 3 Answers

Isometric lightning problem 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges