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 /
avatar image
1
Question by ZoraMikau · Jul 09, 2020 at 01:05 AM · terrainshaderspainting

Unable to draw on Custom Shader Graph Shader with "Paint Texture" on the Terrain

Hi y'all

So recently I made a custom triplanar shader for my terrain, so the ground and walls have different textures. It looks great so far, but I'm unable to draw on it. I have tried drawing on this a lot with different plain textures I have:

alt text

But whenever I change the shader to the built-in "TerrainLit" material I am able to draw on it no problem (see image). Actually, the drawing I do on the above terrain will show up when I change to the TerrainLit material.

alt text

Any idea why this would be? The custom shader I once again made in shader graphs, unsure if that would matter. I also get this notification with the custom shader:

alt text

Could that be part of it? I don't think I need a shader which needs tangent geometry on the terrain, but I'm unsure how to remove those. I'm extremely new to shaders, and the terrain tool, so any help is appreciated.

I've also done all the answers I've found on google to no success. I've restarted my computer, changed the layout to default, and a couple other things.

I'm also using Unity 2019.4.0f1 Personal and the preview Terrain Tool (I started using it in the hope that it would fix my problem).

Thanks!

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 ZoraMikau · Jul 10, 2020 at 04:53 PM

I never found a definite answer to this, but I see there are a lot of followers here so this is what I've found out in the past two days

It looks like Shader Graphs aren't able to do terrain texturing at this point. I'm not completely sure why or why not, but that's what I've read.

Also, it looks like you can't draw on a texture that is set in the shader. So like with my above texture, I set the top and bottom textures to specific things in the shader graph shader/material I made, so I can't draw on them.

If you're looking for a triplanar shader here are a couple I ended up finding. You can probably tweak them so you can use them best:

This one has a good explanation of everything and it is "biplanar." Not 100% sure what they mean by that, but you'll set the texture that appears on everything but the bottom and top and that will appear. Then, when you create a new layer to texture paint on the terrain, it'll color the entire top of the terrain that first layer. You can create another layer to draw on top of it https://halisavakis.com/my-take-on-shaders-cliff-terrain-shader/

Then this one I haven't figured out fully yet, but it there is a source code link here that some of you might find useful https://www.patreon.com/posts/16714688

Sorry I couldn't give you better answers to this if you're curious, but I hope that information helps someone!

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

167 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 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 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 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 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 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

Recommend tools for large mesh / terrain painting. 0 Answers

modify the URP terrain shader? 1 Answer

Fresnel shader and mixed textures 0 Answers

Terrain painting using fbx model 0 Answers

Material for mesh based terrain 2 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