Timeline for What is the best method to share the projection matrix and view matrix with all graphic entity shaders in a custom game engine?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 23, 2016 at 2:22 | comment | added | NateAGeek | This is my current setup. I understand the performance increase, due to not solving the MVP for every vertex. However, making sure that the projection and view matrix stay the same across all entities is what I'm stuck on/worry about implementing. I noticed someone down below suggesting a Renderer class, and that does seem like a nice idea. However, I would like to keep the entities modular in some sense. I think I'm going to try and merge the Renderer class and Scene class into one manager type object... Again, this is me just trying to inquire other people's methods and opinions. | |
Sep 22, 2016 at 9:24 | history | answered | Maximus Minimus | CC BY-SA 3.0 |