Open turol opened 2 years ago
Postprocessing in https://github.com/WolfireGames/overgrowth/blob/08da859107194d3d283c6b54565bffb656478a26/Source/Main/engine.cpp#L2592 is inefficient. It uses a quad instead of oversized triangle, causing overshading on the diagonal. Also this can be done without vertex/index buffers: https://www.reddit.com/r/gamedev/comments/2j17wk/a_slightly_faster_bufferless_vertex_shader_trick/
Postprocessing in https://github.com/WolfireGames/overgrowth/blob/08da859107194d3d283c6b54565bffb656478a26/Source/Main/engine.cpp#L2592 is inefficient. It uses a quad instead of oversized triangle, causing overshading on the diagonal. Also this can be done without vertex/index buffers: https://www.reddit.com/r/gamedev/comments/2j17wk/a_slightly_faster_bufferless_vertex_shader_trick/