Im making simple fps game using raycasting, because I thought its very fast and light method. My Raycasting function saves data in to a vertex array, which is then rendered by OpenGl. But because this array contains vertex for every pixel on the screen, it means that every frame Im rendering 2073600 verticies (1920x1080), which in my opinion isnt exactly great. So at this point I think that it would be better idea to ditch the whole raycasting thing and just make it just seem like raycaster but with real 3d, which would mean rendering only something about 20 verticies per frame.
So, what should I do? Should I use raycasting just with differrent rendering method? Should I use a real 3d? Or is 2073600 verticies per frame just fine?
question from:https://stackoverflow.com/questions/65853999/is-it-ok-to-render-raycasting-using-vertex-array