Possible depth buffer problem?

I am using depth test and clearing depth buffer also. Also, using glm for generating projection and view matrices, but scene has some kind of rippling when moving camera forward or backwards and trees are switching places. I would like to get some suggestions what can be the reason behind that and can provide any additional code if necessary.

youtube com/watch?v=hna-LelDr4E&ab_channel=GiviArabidze
youtube com/watch?v=knVMf3QOuk0&ab_channel=GiviArabidze

please replace ‘space’ with ‘.’ in ‘youtube com’

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.