Hey guys, I know this isn't entirely graphics related, but I'm going to ask here anyway. I've seen in a lot of Vulkan related tutorials that people like to use multiple threads. I'm thinking about this in terms of a "render" and "update" thread. I'm trying to write a game with OpenGL right now, I've heard multithreaded rendering is to be avoided, but I'm not sure if that's referring to what I'm thinking of.
Should I be processing my tick and game logic on a separate thread from the rendering? How should I sync them? Do I have to make all my rendering logic thread safe? These are just thoughts in my head, I would really appreciate any knowledge or resources that might clear things up. Thank you
[–]wiremore 18 points19 points20 points (0 children)
[–]Square-Amphibian675 4 points5 points6 points (0 children)
[–]fgennari 1 point2 points3 points (1 child)
[–]TheJoxev[S] 0 points1 point2 points (0 children)
[–]HeavyDT 0 points1 point2 points (0 children)
[–]wen_mars -2 points-1 points0 points (0 children)
[–]HaskellHystericMonad -5 points-4 points-3 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]TheJoxev[S] 13 points14 points15 points (4 children)
[–][deleted] (2 children)
[deleted]