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
0
Question by davidwalmsley · Oct 08, 2012 at 02:44 AM · lightingtilesdiffuse

How to make lighting work with tiles?

I have been working with the unity and blender to try to create a stage and I have run into a problem. They way I wanted to set things up is to create tiles in blender and bring them over into unity and build my stages using 3d tiles. The problem is that each tile is imported into unity as a single asset, and when I try to duplicate the tile and put one directly next to it I get bad result with the shaders.

Diffuse is the worst, which is what I originally wanted to use. The problem is that each individual tile is lit as its own surface, so when I put a light on three tiles side by side they are shaded as individual squares, not giving the appearance of a flush wall. It looks fine when I use the set illuminated shader, but I would like shading and shadows.

The toon shader works better than the diffuse, but when lights are put anywhere besides directly in front to the surface it starts to look wonky.

Is there any way to create a stage using tiles and also taking advantage of lighting and shadows?

EDIT: I figured this out when I was trying to put together a screen shot and completely forgot to return to the forums. The problem was that I hadn't used edge split on the sharp edges of the blocks in blender, so it was shading the entire square together. Sorry for taking so long to get back to this.

Comment
Add comment · Show 3
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 DaveA · Oct 08, 2012 at 02:46 AM 0
Share

By 'stage' do you mean 'scene' or 'level'?

avatar image DaveA · Oct 08, 2012 at 02:47 AM 0
Share

Did you bake lighting in with Blender? If so, don't do that.

avatar image Ian Smithers · Jan 04, 2013 at 06:08 AM 0
Share

You may wish to combine your single tiles, after placement, into a single mesh, and then light the entire thing?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by davidwalmsley · Oct 08, 2012 at 05:59 PM

By stage I mean setting, whatever's in the background, as in not a character, so I guess level? I can do the buildings all in one model and import them in just fine, but creating the really large parts like streets and sidewalks seems alot easier to do with tiles.

No I don't bake anything in blender, unless it does it automatically and I have to specify not to bake something.

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 shaderop · Oct 08, 2012 at 06:03 PM 0
Share

You should edit your original question to add new information ins$$anonymous$$d of posted an answer, because, obviously, this is not an answer.

And can you post of a screenshot of your tiles as they appear inside unity? I'm sure it will make it easier for us to understand the exact nature of your problem.

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

11 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

Related Questions

Trying to have sprites affected by fog without having to use default/diffuse shader. 3 Answers

Cheap options for making diffuse-lit objects "interesting" 1 Answer

Sprite Diffuse shader not affected by point lights 1 Answer

Vertex Color error 0 Answers

Make Sprite-Diffuse shader work on mesh renderer? 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