I'm trying to achieve a low-resolution effect similar to this:
Observe the jagged edges
I've done it in OpenGL, but only in Linux, and I want to do it in windows. In Linux, these two calls do the job
glBlitFramebuffer(0, 0, 512, 512, 256-rez/2, 256-rez/2, 256+rez/2, 256+rez/2, GL_COLOR_BUFFER_BIT, GL_LINEAR);
glBlitFramebuffer(256-rez/2, 256-rez/2, 256+rez/2, 256+rez/2, 0, 0, 512, 512, GL_COLOR_BUFFER_BIT, GL_LINEAR);
in a 512x512 window where "rez" is the edge length of a square (such as 256) that the scene is reduced to (first call) and then scaled back from (second call).
This works just fine in Linux, but crashes my program in Windows. Any ideas?
gramMember Since 07 Jan 2012
Offline Last Active May 25 2012 12:33 AM
- Group Members
- Active Posts 5
- Profile Views 1,152
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown