#90723 - revo - Sun Jul 02, 2006 12:47 am
Hi,
here is demo how to blur textures for a bit, http://revo.pl/texture.zip - press SELECT to change display from normal to blured :)
Idea is very simple, in even frames display everything normally, and in odd frames move u and v coortinates by half. In my opinion effect is very good - what do you think? Source code attached.
Problems with this method:
- screen should be updated @60fps (I don't see any flickering now)
- textures should have 'frame' on two sides to display everything all right if texture is not prepared to be repeated
It's something like this:
http://revo.pl/pre.png -> http://revo.pl/post.png
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]
Last edited by revo on Sun Jul 02, 2006 10:24 am; edited 2 times in total
here is demo how to blur textures for a bit, http://revo.pl/texture.zip - press SELECT to change display from normal to blured :)
Idea is very simple, in even frames display everything normally, and in odd frames move u and v coortinates by half. In my opinion effect is very good - what do you think? Source code attached.
Problems with this method:
- screen should be updated @60fps (I don't see any flickering now)
- textures should have 'frame' on two sides to display everything all right if texture is not prepared to be repeated
It's something like this:
http://revo.pl/pre.png -> http://revo.pl/post.png
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]
Last edited by revo on Sun Jul 02, 2006 10:24 am; edited 2 times in total