Zylann/godot_tree_generator_plugin

How do I make less polys?

Favkis opened this issue · 1 comments

Awesome addon, but what's up with poly counts? Even bare lowish poly tree gets over 10k fast, and adding leaves makes each tree have 100k polys, is there anything I am missing?
image

The tree shown on your screenshot seems quite low poly already, they can almost be counted by hand (the leftmost branch has roughly 74 triangles). I dont believe it has 10K triangles. Each leaf is a single quad for now, so if you use one quad per leaf and you use many leaves, that can go up quite fast. A possible technique is to use a leaf texture that contains multiple leaves and thin branches. I think there are also options to reduce number of subdivisions but it might look bad if it's too low. In worst case, maybe you could export the tree so you can tweak it in Blender (might need another addon or export to GLTF). And if you plan to render a whole forest, you may need to bake some LODs and impostors (both of which aren't yet handled in this plugin but can be done with other tools).
Where did you see polycount on these details overlay? It only shows drawn vertices, which is how many times a vertex is used in a triangle (the vertex could be shared but will be counted sereval times anyways!) and if your test scene has shadows, it will multiply the amount by the number of shadow cascades, which is not representative of the amount of triangles the model actually has.