Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17063

RenderDoc output does not match actual OpenGL program output

$
0
0

Hello Everyone,

 

I'm writing a game using OpenGL in which you play as a tank that can shoot shells. The shells are drawn via instanced rendering, and the instanced vertex array is simply a tightly-packed buffer of Vector3<f32> that gets updated every frame with a call to glBufferSubData().

 

The strange thing is that while my game's actual output is wrong, RenderDoc's frame capture shows me the output I would expect. The following screenshots were taken right after firing a couple of shells (sorry if they're a bit hard to see).

Game output
RenderDoc's …

Viewing all articles
Browse latest Browse all 17063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>