Jump to content

How to increase grass density with a customized spawner?


unityBeginner

Recommended Posts

Hello,

I have watched this Gaia - Biomes - Textures tutorial made by Procedural Worlds. (https://www.youtube.com/watch?v=rvhg5ztri3g)

Following the tutorial, I've created my own spawner and a terrain detail rule that spawns grass prefabs with a Terrain Texture mask.

The density is very low visually.

1. I changed the Detail Density value under Spawning of the rule, but there's no change.

2. If I change the Detail Resolution of the terrain (built-in tool inspector) from 128 to 256 (it's a small Gaia terrain), then no grass will be displayed.

3, I increased the Detail Density value under the Terrain Detail Override script, there's no change (if I remember it right).

(I also tried the density option of the grass manager provided by the grass assets (it's just a multiplier), it doesn't help. The grass renderer of the assets only takes over the renderering of the grass, no other control. If I only use built-in terrain tool and the grass assets, the density can be set to the desired level.)

 

I'm using Unity 2021.3 and Gaia Pro 2021.

Thank you very much.

Link to comment
Share on other sites

  • unityBeginner changed the title to How to increase grass density with a customized spawner?

If you go into play mode - and hit f11 change the detail density there does it change? 
Are you using Flora? 
 

Link to comment
Share on other sites

I just tried F11, please see the screenshots below. Before and after Detail Density was set to 1.

Flora has been Disabled for both grass rules, one is prefab grass and the other is texture.

After the detail density was set to 1 on the panel, we can see more grass, but they look different, it looks like they don't have specular, no receive or cast shadow, and they don't react to the Wind System of the grass shader. Also, the density is still not as high as expected.

But can we find out what the problem is with this change?

Thank you so much for your response.

 

spacer.png

spacer.png

Link to comment
Share on other sites

For the prefab grass you would want to just keep spawning and maybe increase the instances. 
Texture grass you could try to paint it or again keep spawning it 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...