Thank you very much for your feedback, indeed there is a big problem with the shadow effect to correct, I continue to develop the project and if you want to try with many more boids there is this version: Simulation banc de poissons - boids optimisé by misslola57
And if you wish, you can become a predator here: Boids mode prédateur by misslola57