-
Hello, I'm trying to learn bgfx, liking it a lot so far. What I'm trying to do would probably fit into what is so far described as "utility" more than a game: I'm rendering a bunch of objects with dynamic textures(they change almost every frame). This involves multiple framebuffers, and since we can have only one fb per view, there seem to be two options:
I was wondering if there is an advantage to one method over the other? thanks a bunch, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The output between those two options should be identical, but Specifically for your use case, you could also consider rendering to sub-sections of the same texture (or layers of an array texture), minimizing the number of framebuffers. |
Beta Was this translation helpful? Give feedback.
The output between those two options should be identical, but
frame()
has some added overhead (that may or may not be negligible depending on your case). If you're limited by the view count, consider raising the limit.Specifically for your use case, you could also consider rendering to sub-sections of the same texture (or layers of an array texture), minimizing the number of framebuffers.