2 registered members (AndrewAMD, ozgur),
1,421
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Motion blur shader?
[Re: tompo]
#134082
06/06/07 16:42
06/06/07 16:42
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
na, I don't think it would work that great. Only entities would have the blur (not the world), and making copies of entities will slow down alot as well...
...As for the matrix dev's, That wold be wierd. I'd be constantly paranoid... lol...
xXxGuitar511 - Programmer
|
|
|
Re: Motion blur shader?
[Re: Ichiro]
#134084
06/07/07 06:25
06/07/07 06:25
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
Interesting... How does it work? I see that there's a panel that has a copy of the screen, and alpha is set depending on the time passed between frames. But is that it?
xXxGuitar511 - Programmer
|
|
|
Re: Motion blur shader?
[Re: Poison]
#134086
06/07/07 22:16
06/07/07 22:16
|
Joined: Aug 2002
Posts: 681 Massachusetts, USA
Ichiro
User
|
User
Joined: Aug 2002
Posts: 681
Massachusetts, USA
|
I see that there's a panel that has a copy of the screen, and alpha is set depending on the time passed between frames. But is that it?Yep! It's cheap and easy, like a good date. By which I mean this.
|
|
|
Re: Motion blur shader?
[Re: Ichiro]
#134087
06/08/07 16:56
06/08/07 16:56
|
Joined: Jun 2005
Posts: 656
Grafton
User
|
User
Joined: Jun 2005
Posts: 656
|
I have been using Ichiros' blur method for a while as a nitro boost effect. It works very, very well.
Not two, not one.
|
|
|
Re: Motion blur shader?
[Re: Grafton]
#134088
06/08/07 17:17
06/08/07 17:17
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
I'm deciding if I should use 3DGS or Sylex for this.
I'd much prefer to use 3DGS, but I don't know how to set up PP efects.
A have the image. Then do I apply it to a model?
How do I get the image through the shader and back to the screen?
xXxGuitar511 - Programmer
|
|
|
Re: Motion blur shader?
[Re: xXxGuitar511]
#134091
06/08/07 18:58
06/08/07 18:58
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
he, Thanks for PM Tompo I've gotten a basic shader done. I've got to run to work now so I don't have time to set up a demo. And by demo I mean release the code in a usable way I'm workin till midnight, so I'll set it up when I get home (~9 hours). It simply blends 4 different shots of the screen at different alpha levels. It's simple and dirty. There aren't any time calculations for alpha values yet, but will be added soon! It uses another view, so it will be a lil slower. However, it uses four bmaps as render targets and avoids bmap_blit, so its not that slow...;)
xXxGuitar511 - Programmer
|
|
|
|