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
0
Question by DenoX17 · Feb 04, 2017 at 08:08 AM · 2dmaterialbuggraphicslight

Material is destroying sprite`s quality

Hi guys, I got a problem - I got a sprite of a castle in which i decided to do kinda torch light. I found out that it needs a shader, so i put a material on this sprite, and then there has shown some weird lines which are not drawn on a picture of castle. I send you picture of sprite with and without material( on top there is material and on bottom there is no material). I have drawn this blue lines to show you where the quality is being destroyed. alt text

xdxdxd.jpg (740.7 kB)
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 tanoshimi · Feb 04, 2017 at 08:17 AM 1
Share

And what shader are you using on the material assigned to the sprite? It looks like an alpha cutout which could be showing through a red object placed behind the sand?

avatar image hexagonius · Feb 04, 2017 at 08:47 AM 0
Share

tanoshimi is right about the cutout. the castles edges are not smooth anymore

avatar image DenoX17 · Feb 04, 2017 at 11:34 AM 0
Share

The shader is "legacy shaders/bumped diffuse". But when i put "standard" shader same thing happens. Behind the castle there is only background (sand) and nothing else. How can I fix it?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DenoX17 · Feb 05, 2017 at 09:19 AM

For everybody having the same problem. I found out that shader needs to be "Sprites/diffuse" and it`s working properly with light.

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.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Accidentally Clicked Refresh Assets and This Happened. How Do I Fix It? 0 Answers

Standard material shader ignoring SetFloat property "_Mode"? 1 Answer

Directional Light seems to have no effect on MeshRenderer. 1 Answer

How would you go about creating a material that allows you to add fully tiling textures to a 2D sprite? 1 Answer

Is it possible to set smoothness and metallic of a mesh per-vertex instead of the whole material? 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