• 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 bekilo · Jun 17, 2013 at 09:08 PM · shadertextureterrainblending

How do you turn off terrain blending?

This question has bothered me for about a month now, well into development of my game, but one thing is really pissing me off. I can't seem to disable terrain blending between textures, that makes stone textures look really ugly when i could create a border around them. This happens at ALL possible configurable settings for the brushes.Is there an alternative to making a plane for the texture? alt text

The area that bothers me is between the red lines. Looks so flippin ugly.

Also, i am trying to make some of my terrain textures bumped specular, but when i do others become shiny, is there a way to prevent this?

untitled.jpg (245.4 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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Owen-Reynolds · Jun 17, 2013 at 09:38 PM

If you drop your Terrain brush down to a single square (a "terrain map pixel") that gives you the size of the smallest blend. If each of your red lines is the center of 2 touching blue squares, then you need to reduce the square size. If it is several squares, use a sharper brush.

To change brush pixel size: Terrain->Resolution->ControlTextureRes. Doubling it cuts the pixels in half (and file size by x4.)

The other common trick (you see it in slightly older MMOs) is to use grass and other stuff to sort of hide the bad areas.

For the spec map, just a guess, give every other texture a "do nothing" bump map with pure black for the alpha (Unity likes to use alpha for the spec map.)

Comment
Add comment · Show 4 · 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 bekilo · Jun 18, 2013 at 08:54 AM 0
Share

Have tried changing the resolution of the map, does nothing. also the brush size i have tried and pretty much everything else, i think it is to do with the shader used for rendering but i am unsure. Will try the do nothing bump map later though, thanks.

avatar image Owen-Reynolds · Jun 19, 2013 at 01:20 AM 0
Share

There will always be a small blend area, but it's better than the alternative, which is a sharp, pixelated change.

For a real test, put two stripes next to each other using a 1-pixel brush for the edges.

avatar image bekilo · Jun 19, 2013 at 05:13 PM 0
Share

This is using a 1px brush. I am trying to achieve the sharp pixelated change but there seems to be no way other than a mesh above the land that has this as a texture. Changing the resolution would destroy all of my terrain data and isnt an option. Can you recommend anything else? :s

avatar image Owen-Reynolds · Jun 20, 2013 at 04:19 AM 0
Share

Changing just the control texture resolution will only wipe out the painting data (which you hate anyway.)

It should be possible to modify the Terrain shader to only show the texture set to 50% or more, but it won't look good -- like someone cut out a collage for the ground.

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

15 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

Related Questions

How to automatically apply different textures on terrain based on height? 5 Answers

Cannot paint Texture onto Terrain using Custom Material 2018.4 1 Answer

Iphone - Blend two textures + Additive blending 3 Answers

Why wont the normals of my addpass terrain shader blend with the first pass? 0 Answers

Torchlight effect in 2D 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