2 registered members (TipmyPip, 1 invisible),
18,789
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Motion blur shader?
[Re: xXxGuitar511]
#134102
06/12/07 06:33
06/12/07 06:33
|
Joined: Aug 2001
Posts: 2,320 Alberta, Canada
William
Expert
|
Expert
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
|
I tried it out. Although, it doesn't seem to have the bloom, and I couldn't figure out how to properly scale the entity that the view is being put on, to the screen's size. Screen becomes a bit darker too, but mabye this was the lack of bloom. Fog also doesn't work yet.. Overall though, pretty good job so far. I wonder though, is motion blur possible with bloom? Thanks for showing it. 
|
|
|
Re: Motion blur shader?
[Re: William]
#134103
06/12/07 06:44
06/12/07 06:44
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
- Bloom: Havn't added any bloom yet  - darker: It shouldn't be, but it may be due to mixing the four copies of the view - fog: Sorry, I forgot to have the blur's view copy the fog parameters from the camera view. I know this isn't anything special, I just wanted to release something to show progress... sorry 
xXxGuitar511 - Programmer
|
|
|
Re: Motion blur shader?
[Re: xXxGuitar511]
#134105
06/13/07 00:07
06/13/07 00:07
|
Joined: Sep 2002
Posts: 8,177 Netherlands
PHeMoX
Senior Expert
|
Senior Expert
Joined: Sep 2002
Posts: 8,177
Netherlands
|
Quote:
I know this isn't anything special, I just wanted to release something to show progress... sorry
It's working good here, although a bit darkerish indeed. Don't worry man, keep it up. 
Btw. why didn't Ichiro's blur shader mix well with bloom? Which bloom shader? The one from Rhuarc? I thought I had them mixed without problems a long time ago actually,
Cheers
|
|
|
Re: Motion blur shader?
[Re: PHeMoX]
#134106
06/13/07 04:50
06/13/07 04:50
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
I havn't actually tested it myself, but my guess is that it has something to do with rendering to textures. {i'm guessing] that rendering to a texture comes dircetly from the view, not after any effects... I [believe] that I used vec_lerp() for blending the images on the blur shader, but perhaps I changed that after I sent the code to PHeMoX 
xXxGuitar511 - Programmer
|
|
|
Re: Motion blur shader?
[Re: Puppeteer]
#134108
06/14/07 14:39
06/14/07 14:39
|
Joined: Mar 2007
Posts: 776 Poor village - Poland ;)
tompo
User
|
User
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
|
interesting.. at this screen olny trees has a motion blur... rest of buildings have only bloom. The same is in f.e. Test Drive Unlimited. So maybe my idea to create clone (maybe less detialed) for entitys (trees) and scale it x/y depends of camera position and add a gradient alpha channel to better looking... it's not so bad idea? 
Never say never.
|
|
|
Re: Motion blur shader?
[Re: Puppeteer]
#134110
06/14/07 17:38
06/14/07 17:38
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
There are many problems with doing motion blur. For example, if you had an object fly past the user (standing still), you would want it to blur that object, yes? However, the PP shader doesn't know which pixel to move, or which dirrection to smear them, so I take several shots and mix them newest first, oldest last. However, that method does not actually "blur" objects, it just creates several mixed copies of it, which "sort-of" blurs it  I havn't added anything to the shader (besides lerp() for better mixing), because I don't really know what to do next. If anyone wants to, please feel free to take my release and continue it.... I'm out of ideas and time 
xXxGuitar511 - Programmer
|
|
|
|