Im using a multi-mesh to render grass how do I stop it from rendering both sides
Multi mesh only renders what you are giving it. Are you giving it "both sides"? I'm kind of confused here.
Dynamically clipping geometry can be done, but can also be slow. You might be better off just leaving it rendering under the ground, probably better performance.
Or just model it the way it is supposed to display so you don't have to hide anything.
assuming what you are instancing are premade 'batches' of grass you'd ideally modify them so there is non intersecting the ground. Also Spinode just released a plugin for scattering things such as rocks and grass, might be worth checking out. And there's also another scattering plugin that has existed for a while now.
Fetch how would I do the first option I don't want to use plugins
Multi mesh only renders what you are giving it. Are you giving it "both sides"? I'm kind of confused here.
Dynamically clipping geometry can be done, but can also be slow. You might be better off just leaving it rendering under the ground, probably better performance.
Or just model it the way it is supposed to display so you don't have to hide anything.
Zimbabwe I don't want to use plugins
Fair enough, though you are just unnecessarily over-complicating your own life reinventing the wheel.
Well I typically don't like plug-ins or dependencies because they add risk. Like you may update to a new version of Godot and your game no longer works.
For something like this, I don't think it would be terribly hard to do manually.
© 2022 - 2024 — McMap. All rights reserved.