Hi. I’m trying to combine a number of previously generated views into one and in this process I need to know the view which is currently being rendered, so to speak. The problem is that gl_FragCoord remains constant.
Does anyone have any idea about what might cause something like that? My guess is that it has something to do with the fact that I’m switching between render targets/framebuffers a lot and have missed setting something somewhere.
I’m using OpenGL 3.2 and GLSL 1.5.
(For the time being I just thought I’d see if anyone had encountered this before. The source to recreate the problem is a bit large so I’ll post that if no one can think of anything.)