You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try changing the clear color of the scene and reading it back using glReadPixels to check if the scene renders properly to the new framebuffer.
Why not add a note somewhere about graphics debuggers? For example, I've been learning a lot from just looking at the output of CodeXL:
I don't have to worry about writing extra code with glReadPixels, I can just look at my debugger to make sure it's rendered okay. I guess using glReadPixels is a good excercise in itself, though.
The text was updated successfully, but these errors were encountered:
Yeah, I really regret not writing about glDebugMessageCallback and using CodeXL/RenderDoc, but I feel that it is a little bit too late to integrate that now.
The chapter about framebuffers suggests this:
Why not add a note somewhere about graphics debuggers? For example, I've been learning a lot from just looking at the output of CodeXL:
I don't have to worry about writing extra code with
glReadPixels
, I can just look at my debugger to make sure it's rendered okay. I guess usingglReadPixels
is a good excercise in itself, though.The text was updated successfully, but these errors were encountered: