Starting to work with PCG and I have some questions on trying to achieve the same level of output I am currently getting with Landscape Grass.
Right now, I’ve defined several rings of grass. Higher densities with shorter culling distances to step-down over distance so it appears w/smooth transitions going away from the player. Pretty sure this is what we all do, or close to it. Specifically, I have the following densities:
When I get over to PCG, I’ve struggled with the points/point-density. I keep running into too-many instances being spawned with a note about needing to increase the buffer-size:
LogRenderer: Warning: GPU-Scene Instance data overflow detected, reduce instance count to avoid rendering artifacts.
Max allocated ID 21568349 (20.569M), instance buffer size: 16M
I’ve played around with this enough so far to realize the scaling, density of points, etc is handled somewhat differently (?) vs other grass-deposition techniques. This is fine, but I’d still like to know how I can go about recreating what I get out of Landscape Grass, but in PCG.
This is what I am using to spawn grass, each static-mesh spawner having an increasing cull-distance.
The density-filters go from 0.75 → 1, 0.5 → 0.75, 0.25 → 0.5, and 0.0 → 0.25 going top to bottom.
Still learning and will plug away but this is obviously-different for me, just-asking for direction / suggestions?
I DO check the docs, youtube, here, but haven’t found a good answer for this vs other kinds of errors.
Side-questions:
- what’s the max-size of a PCG volume. I have a landscape scaled up to 500x500x350, so 10km side. Is there a way to make this ‘unbounded’ like a post-process volume?
- it seems REALLY SLOW to generate things, like tortuously slow . I get this is the new-hotness and does offer a lot of ways to lay stuff out w/runtime-performance benefits. I do like it, but it’s SLOW even just to set up grass. Is this typical of your experiences?
- cannot seem to locate the buffer in question. Anyone know where this lives? 16MB doesn’t seem an awful lot to double-up on…?