Forum

Dynamic Pixelization Filter

Discuss programming topics that involve the OpenGL API.

Moderator: InsideQC Admins

Dynamic Pixelization Filter

Postby r00k » Thu Feb 07, 2013 6:21 pm

Is it possible to render an entire scene to a shader that could pixelize the enter image?
I was thinking of how models cold look like sprites. But be perfectly 3d almost making it look like the sprite is generated in real time...

does any of this make sense?

like this

Image
r00k
 
Posts: 1108
Joined: Sat Nov 13, 2004 10:39 pm

Re: Dynamic Pixelization Filter

Postby Spike » Thu Feb 07, 2013 8:23 pm

just render to texture?
Spike
 
Posts: 2878
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Dynamic Pixelization Filter

Postby leileilol » Thu Feb 07, 2013 8:57 pm

Why not just render the scene in 320x200 then scale that up as a nearest neighbor texture?


You can also try pulling this off in GLSL through a post-process shader (like in Darkplaces). There is a pixelization GLSL shader you could study in the Dolphin emulator's files.
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Dynamic Pixelization Filter

Postby ceriux » Fri Feb 08, 2013 2:07 pm

rook i was wondering the same thing the other day. would be cool if you could use csqc or something to emulate old rendering effects. i think it would look great maybe something similar to this http://www.indiedb.com/games/ancients-o ... yss/videos
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA


Return to OpenGL Programming

Who is online

Users browsing this forum: No registered users and 1 guest