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 /
This question was closed Feb 09, 2014 at 10:55 PM by MousePods for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by MousePods · Feb 06, 2014 at 07:53 PM · meshlightinglightsseamsprimitive

Seams between Primitive Cubes

The walls and floors are cubes. The light shining on them is caused seams to appear. What is a simple way to fix this?

Each wall needs to be separate so that when the player touches it, it will trigger an event.

Example

Thanks!

Comment
Add comment · Show 4
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 ChoChoEnzo · Feb 06, 2014 at 08:25 PM 0
Share

First: Are these cubes exactly aligned on top of each other?

Second: Are these cubes made inside unity? You could try making a simple cube in Blender and remove the top and botom. So the faces dont get drawn.

Let me know if you do not get what i mean.

heres an image illustrating aligned and not aligned cubes respondse on light. alt text

avatar image MousePods · Feb 06, 2014 at 08:49 PM 0
Share

They are not lined up on stop of each other. They are only side-by-side.

Image

They are made inside unity. Uunfortunately, blender cube only makes things worst.

Example

How are you able to get the light not to show seams? I build the map dynamically and place them exactly side by side.

alt text

avatar image ChoChoEnzo · Feb 07, 2014 at 03:01 AM 0
Share

holdon a sec.

do you have lightsources inside every cube you got there? o.o

avatar image MousePods · Feb 07, 2014 at 01:43 PM 0
Share

Yes. (just answered why to the guy beneath)

Is the error happening because I have the light source inside the cube?

Thanks for taking the time!

1 Reply

  • Sort: 
avatar image
0
Best Answer

Answer by MaT227 · Feb 07, 2014 at 07:18 AM

I see multiples errors in your level.

  1. As ChoChoEnzo said, why do you have so much light sources ? Why do you need one light source for one cube ?

  2. The more you have separated objects the more you have draw calls and gameobject, then Update calls etc..., why do you need multiple cubes to make a straight wall ?

  3. Same question for collision, why do you need so much collision detection, one for each cube ?

You can solve your lighting problem easily by optimizing your level and make a correct level design with adapted technics.

Comment
Add comment · Show 3 · 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 MousePods · Feb 07, 2014 at 01:41 PM 0
Share

I need one light source per cube because when the player touches a wall, the wall will fade in the light and also change colors. I mean, I guess I could add a light source dynamically when the player touches the wall, but that still doesn't fix the lighting problem :\

Also, each cube changes colors when the player touches it. That is why I have separate cubes.

Do you have a suggestion as to how to fix the lighting problem and also have separate cube collision while utilizing your suggestion about non-separate walls?

Thanks for your input!

avatar image MaT227 · Feb 08, 2014 at 10:10 AM 0
Share

I don't understand

the wall will fade in the light

Concerning the lighting problem, you can also try raising the Pixel Light Count but having so much lights affecting each other cubes is definitely not a good idea. First you should identify the light problem. Try with maybe 3 cubes precisely aligned in a scene and one light source in one of them. Does this causes the glitch ? Then try with more lights and more cubes. Concerning the separated walls I have maybe a solution but it is complicated I think and maybe not worth it. And It needs another question in Unity Answer because it doesn't concern our light problem.

avatar image MousePods · Feb 09, 2014 at 10:53 PM 0
Share

Yeah, your right! It was the shader I was using. Also that light count is way too high. Thanks for all your input!!

Follow this Question

Answers Answers and Comments

21 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

Related Questions

[SOLVED]Procedural generated side by side cubes without 'seams'? 2 Answers

Seam between meshes 1 Answer

Light shining through mesh 1 Answer

Why do 2D Lights render past shadowcasters. 1 Answer

MODEL TURNS BLACK AFTER APPLYING TEXTURE PLS HELP 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