Dynamic Pixelization Filter

Discuss programming topics that involve the OpenGL API.
Post Reply
r00k
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Dynamic Pixelization Filter

Post by r00k »

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
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Dynamic Pixelization Filter

Post by Spike »

just render to texture?
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Dynamic Pixelization Filter

Post by leileilol »

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
ceriux
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Dynamic Pixelization Filter

Post by ceriux »

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
Post Reply