![]() ![]() Also, I had to ditch 'avoidance', avoidance is Very nice effect, very cool and works well, up to less than 1000 instances, above that see your frame rate crawl. I also changed the models to something ligther/a texture sheet of an insect so yes 2D image texture map, but it works better because you saev a Lot of polygon geometry and insects are so small it makes almost no difference only Very close to eye, otherwise from afar they look flying insects masscloud. I upped it to 15000 instances to make a 'cloud of bugs' and it worked well but alas it 'crawled' in frame rate. That is where you have to edit the script to make higher number (edit the Flockcontrollereditor.cs script and change the '999.0' (right beside 'amount of objects' code line), to whatever number you wish). With this script here the maximum number of birds you can instance per se is 999, which is good for bird flocks but flocks are flocks you can flock anyhing I transformed this for flying small instects and needed way more to 'fill in' the 'flock' because 'look empty' (flying insect much smaller size than birds/invisible to eye), not enough instances. On the original pre-DOTS/ECS regular 'game objects' system it can't hold up and at about 5000-10,000 or less it starts to struggle/to keep up. The most important element is that truly great flocking system, I was looking for that and there was only two or three others that did this well but some of them rely on GPU instancing (which is good, not saying anything about that), but sometimes you don't want use to that (I have mixed things about GPU instancing, it's very good yet there are limits to it and you must set up all your materials (to instance them) accordingly it's a mixed bag, because some of the most complex scenes use GPU instancing to good use (like the new DOTS/ECS system where you 'drawinstance' (by GPU I guess) some 100,000agents (thus 100,000 times the same instance) and the frame rate is very smooth. ![]() This one is for the well-made crows, but there are many other types of birds/bat/flocks available to look for. I really recommend this, it is a great price and works well/as shown. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |