• 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 digicub · Jan 26, 2016 at 02:30 PM · terrainshadersgrassterrain-treesdetails

Detail brush not rendering correctly in game

I'm painting details on my unity terrain with the detail brush - in this case, a 3D mesh of a low poly bush:

alt text

But in the game (running on iPad), it looks like this:

alt text

The Render Mode is set to Grass. I've tried various shaders - Transparent/Grass, Standard, Mobile. Any idea what I'm doing wrong?

Also, if I add the mesh separately, i.e. not painted as a detail mesh, it renders fine.

img-0004.jpg (190.2 kB)
screen-shot-2016-01-26-at-135216.jpg (271.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 Darth-Zoddo · Oct 12, 2016 at 09:14 AM

@digicub detail meshes can't have any colliders or more than one material attached to them. if they do have those, then they are going to act either very funky or will not show up at all.

from my experience is detail mesh not all that great in unity terrain. for bushes etc. i just place them like trees.

when you place them as trees you can give them colliders and two materials instead of one, if that's what you need. besides this i have no idea how to fix your alpha planes, i think the best option would be to replace them as trees....

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Custom Terrain Details Shader,Custom Detail Shader In 2019.2 1 Answer

Terrain Grass Detail Texture Atlas 0 Answers

Problem with Terrain.SampleHeight 0 Answers

Hide Grass Details 1 Answer

How Do I Fix My Grass? 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges