Please view this video I uploaded:
I recorded an odd lighting issue that I was hoping someone could shed light on.
What I’m doing; In the video I have displayed are a handful of the 2000 people I have simulated moving around a planet. The people are made of very few vertices and faces. They look blurry because I’m zoomed out quite a bit and vid quality. In order to save or processing power I’ve clumped all the people into one geometry that is dynamically updated every frame. The geometry’s vertices are then updated each frame. The geometry is only made up of those people who are visible to the user. All other people are not rendered but their position is updated every frame.
As you can see the lighting seems to ‘flicker’,
At the end of my dynamic geometry updating function I run the following:
simX.geometry.verticesNeedUpdate = true;
simX.geometry.facesNeedUpdate = true;
Each person is individually select-able, so I need to run .computeFaceNormals and .computeBoundingSphere each frame.
But why the flicker and how can I get rid of it?