Unity3D Tips - Terrains - 5. Terrain Grass
Vložit
- čas přidán 10. 09. 2024
- A quick guide to adding grass to your terrain. We'll go over how to paint in grass, what the various settings do and how to get started adding them in.
We cover the difference between grass textures vs meshes and how to reduce drawcalls by batching patches together.
In the video I'm using a hand crafted terrain and terrain ground textures and grass texture/models from Synty's Polygon Nature. Grab that from the asset store here: assetstore.uni...
Leave a comment below and let me know what you think and any content you'd love to see in future videos.
Grab yourself some amazing assets from the Unity asset store to kickstart your project: assetstore.uni...
Please like and subscribe if you'd like to see more, and you can find me on Patreon here: / gamedevbits
*Links to the asset store on this channel may contain affiliate tags. These will not cost you anything but may assist GameDevBits.
Thank you for the amazing video!
Finally found what Ive been looking for... Amazing video but Im curious.. Is the terrain displaced with a height map??
Yep sure is. The default terrain in pretty much all game engines is a heightmapped surface with variable density based on distance.
Awesome series, thanks!
Glad you're enjoying it. Thanks so much.
what about if you dont have any grass things pls answer ;)
Jump into your photo editor of choice and make a little black and white transparent plane to use!
Can you tell me how to increase grass view distance 5:13
If you select your terrain and go to the settings (gear icon) scroll down to the section "Tree & Detail Objects" and adjust the value for "Detail Distance".
@@GameDevBits well it still doesn't allow me to go beyond certain limit, anyway I added some fog and called it a day
why adding grass causing unity to crash or slow down?
The terrain details need to be pushed to the GPU and rendered. So if you're adding more detail density than your PC can handle it can cause slowdowns
@@GameDevBits Thank you sir
I cant place detail mesh :( it dosnt appear but it get laggy as i paint so i guess something is added
It's possible you're too far away. Your terrain detail distance limits how far away you can see the terrain details. Try decreasing your brush opacity and zooming in a little closer.
Amazing
Thanks!
my grass is mesh is sideways :C
My grass just looks so worse I can't tell. Any fix.
Like pixelated blurred and that grass shift.
Great vid, thanks.
Glad you liked it!
how do you paint grass on custom mesh??
If you're using a mesh and not the built in terrain you'll need to use another tool to "scatter" things like grass. Polybrush is a free preview package from Unity that supports things like that: unity.com/features/polybrush
add grass texture option is grayed out and I can't click it, anyone knows why? is it outdated or something?
Sounds like you're using HDRP? If so, I don't think it supports texture based grass on terrains.
@@GameDevBits yeah, I noticed a few minutes ago it is becouse of HDRP, I will have to look for other alternatives then, thx for answering