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 /
  • Help Room /
This question was closed Jan 02, 2016 at 10:15 PM by ShadyProductions for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by ShadyProductions · Dec 22, 2015 at 06:37 PM · spritesproceduralgenerationperlin noiselines

Problems with the way my sprites look

I am using perlin noise to generate a map of a couple of sprite prefabs (32x32) pixels, which are all instantiated by a forloop in the start of the game, (200x200) of them. I get a really nice look, except the sprites look really weird, some of them look the way they should and most show lines, although they are positioned correctly, the spritesheet is correct and so are its settings. I can't figure out what is causing this. Also pixel snap is on too.

Here are a couple of examples of what I mean. The yellow contains lines too I just noticed, they are just hard to see.. So I'm guessing they all show lines. alt text

alt text

Any ideas are welcome! Regards, Shady

screenshot-3.png (10.6 kB)
screenshot-2.png (16.8 kB)
Comment
Add comment
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

2 Replies

  • Sort: 
avatar image
1
Best Answer

Answer by Firedan1176 · Dec 22, 2015 at 07:51 PM

This is because of antialiasing artifacts; there's different ways to fix this, but I'm not entirely sure how I would in your situation. Are you sure all of the sprites are positioned exactly next to each other, with touching borders? Is the scale of the sprites exact, so you don't have 0.99934 for example, for your scale/position?

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 ShadyProductions · Dec 22, 2015 at 08:00 PM 0
Share

The sprites are all correctly placed and the correct size on the spritesheet, if I take em apart they look fine, the scales are also all on 1.. I'm really confused on what to do, if I take of pixelsnap the lines becomes squares. And they are all instantiated with a for loop parsing from 1 to 200 and the position is inputted by the current value I mean, it can't be wrong. :P

avatar image
0

Answer by ShadyProductions · Dec 22, 2015 at 08:16 PM

I was looking into the project settings and turning of the antialiasing actually fixed it for me!

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

Follow this Question

Answers Answers and Comments

31 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

Related Questions

Procedural Cave Generation Can´t understand?? 0 Answers

Can you use the superformula in unity? 0 Answers

Question about procedural forest/grass generation 1 Answer

Things that I don't get in Procedural Cave generation Tutorial 1 Answer

Is there a way to draw lines in a certain layer? 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