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 post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by Z171 · Oct 31, 2014 at 05:41 PM · paintpaintingvertexshaderobject-paint

Texture painting

Hi all, since September i'm trying to texture a blender model, without success. it's basically a big island, i can't make it in unity (with unity terrain) because i need a precise shape, it's about 2km^2. i've tried using a single 4096*4096 texture, resolution is too low. i've tried using 4 4096-4096 textures, resolution is still too low. i haven't tried using 16 textures, this would be too long to do, and probably, still looking bad. i've tried searching and searching about vertex painting, i've tried vertexPainter by pixelstudio, but it won't work (nothing happens when i press "paint", i've sent an email to the developer, but with no answer). now i'm trying to learn how to program shaders, but i don't think that this is going to solve my problem. can anyone please give me a hint???? THANK YOU SO MUCH FOR HELP!!! z171

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
1
Best Answer

Answer by IgorAherne · Nov 01, 2014 at 08:47 AM

you will need 5 textures of a size 256 by 256.

First one is an rgba texture, will serve as a filter.

Other four are rgb textures with the earth, rock, lava, grass whatever. They have to be seamless textures, so when you tile them, there will be no seams.

After that, you will need a shader which will allow a certain amount of 1-4 textures show through depending on the strength of a corresponding channel of the filter texture.

Let's say at a given texel of a filter texture the value is as follows (1.0,0.0,0.0,0.0). THis will imply that you want to have a texture1 reveal at the particular filter pixel. Other 3 textures do not contribute.

That way, you "show through" your four textures at particular spots, according to the filter texture. After that you will need an editor script which will allow you to set the values of the filter texture in Editor, so that you don't have to jump back and fourth into photoshop to adjust the filter texture.

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

26 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

Related Questions

Object Painter Editor Help 1 Answer

Cannot place trees on terrain 0 Answers

Sprite/Texture Eraser and Painter 0 Answers

Drawn lines are dotted and incomplete if drawn too quickly!? 1 Answer

Painting on objects at runtime/in editor 1 Answer


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