Ok, so I have a large grass object made from merged BufferGeometries. Everything looks great (well…almost), but I have one issue.
Slower computers are going to struggle. Of course I can reduce the amount of geometry in the object, and I will make that an adjustable setting, however I would also like to be able to set a “max view distance” setting as well.
I’m curious how to go about it. Since it’s technically one large object, I can’t really do what I normally do and toggle mesh visibility by distance from the camera.
Can I limit view distance in the shader itself? That would be awesome (I did figure out how to apply fog in a custom shader, yay me lol).
If not, what? Create a second render pass with maybe a different camera far/near setting or something?
Any nudge in the right direction would be most appreciated =]