Closed katajakasa closed 2 days ago
Prefer libepoxy over libglew. It supports GL ES too and starts up faster.
Prefer libepoxy over libglew. It supports GL ES too and starts up faster.
Interesting, I will take a look. Glew is a total pain to maintain.
Reading from UBO with a varying offset might be a slow path. Use a texture instead. Either GL_TEXTURE_1D
or a 2d texture with width or height of 1.
Using discard
in shader is potentially a slow path. Prefer outputting fully transparent color instead.
Reading from UBO with a varying offset might be a slow path. Use a texture instead. Either
GL_TEXTURE_1D
or a 2d texture with width or height of 1.Using
discard
in shader is potentially a slow path. Prefer outputting fully transparent color instead.
Interesting. I added these on my future to-do list.
You probably want this: https://www.reddit.com/r/gamedev/comments/2j17wk/a_slightly_faster_bufferless_vertex_shader_trick/
Lol. On to the list it goes.
Further work items are now here: https://github.com/omf2097/openomf/issues/612
WIP, do not merge.
Plan:
Notes:
It might make sense to split the rendering into three, as the news caster guy wants images from arenas without the text and UI crap. So perhaps first render all game objects, then snatch any screenshots, and then draw the UI crap.
Cleanup TODO: