Hey all!
Does anyone know if there's a lens flare shader available for SweetFX?
I mean it doesn't need to sample bloom to create a flare right? All it takes is a brightness trigger, am I right?
Currently I'm only playing dx11 games and SweetFX is the only post process option out there.
Thanks in advance!
SweetFX lens flare
- Author
- Message
-
Offline
- *sensei*
- Posts: 446
- Joined: 17 Apr 2014, 22:12
- Location: Schweden
SweetFX lens flare
_________________
| i5 3350p @3.1 | 16 GB RAM | GTX1060 | Skyrim on SSD |
My Flickr
My Soundcloud
CGI ENB
| i5 3350p @3.1 | 16 GB RAM | GTX1060 | Skyrim on SSD |
My Flickr
My Soundcloud
CGI ENB
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: SweetFX lens flare
Well I made some lensflares but since sweetfx doesn't support mipmapping I have no possibility to blur the very sharp and rough flare. But now ReShade is upcoming, a generic injector for DX8, 9, 10, 11 and OpenGL which even has depth buffer support. Wait until it is open beta which should be soon and then you'll have your flares
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan
Re: SweetFX lens flare
how about applying 1d Gaussian on brightpass in same direction repeatedly to get a wide kernal, than another 1d guassian perpendicular to it, the result would be a wide 2d guassian.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: SweetFX lens flare
ReShade? What's that? Another lie about depth buffer access (especially for dx8 and especially generic) is just newbie fairytailes or the way to attract users by foolish them (as everybody do now, unfortunately).
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *sensei*
- Posts: 372
- Joined: 28 Jul 2013, 23:26
Re: SweetFX lens flare
It's just a translation of DX8 to DX9 so people can use SFX on DX8 games. Some info hereENBSeries wrote:ReShade? What's that? Another lie about depth buffer access (especially for dx8 and especially generic) is just newbie fairytailes or the way to attract users by foolish them (as everybody do now, unfortunately).
http://forum.guru3d.com/showpost.php?p= ... count=1714
Doesn't have depth buffer access, SFX doesn't have depth buffer access to anything.
-
Offline
- Posts: 21
- Joined: 13 Feb 2013, 06:52
Re: SweetFX lens flare
ReShade is an ongoing injector that will eventually replace whatever SweetFX is using right now (injectSMAA i believe).
This DX8 > DX9 wrapper is just an alpha-poc stuff, not really the final project.
Seems very promising actually.
And I also trust CJ and Crosire, so is not a scam or something.
Here some info about it:
http://forums.guru3d.com/showpost.php?p ... count=1881
I can't say anything for depth buffer access though.
I understand very little about it.
This DX8 > DX9 wrapper is just an alpha-poc stuff, not really the final project.
Seems very promising actually.
And I also trust CJ and Crosire, so is not a scam or something.
Here some info about it:
http://forums.guru3d.com/showpost.php?p ... count=1881
I can't say anything for depth buffer access though.
I understand very little about it.
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan
Re: SweetFX lens flare
You guys are definitely off topic here.
@Insomnia
you don't need downsampled texture( i.e. bloom texture), a brightpass + guassian can do the trick.
If multipass is unsupported, just do brightpass and a wide 2d guassian in single pass( not performance friendly)
don't know how to add new pass in SweetFX, so no actual codes here.
@Insomnia
you don't need downsampled texture( i.e. bloom texture), a brightpass + guassian can do the trick.
If multipass is unsupported, just do brightpass and a wide 2d guassian in single pass( not performance friendly)
don't know how to add new pass in SweetFX, so no actual codes here.
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: SweetFX lens flare
As said above, Mipmapping is to be implemented (works actually but not yet on DX9) and I made some lensflares so...wait for open beta. Multipass is also supported, overall the features for own shaders are vast, way more than ENB is offering. And Depth Buffer for every game is neither a fairy tale nor lies, it actually works on many games I tested. Some online games like WoW seem to have either a protection or ReShade doesn't detect it correctly but in the majority of games, it works fine. Of course, as non-generic solution, ENB still is best.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: SweetFX lens flare
I'm very pessimistic regarding depth buffer access. The way i did it in pre 0.076 mods via drawing objects twice - very cpu performance costly and only fit to old games. Using vendor hack to replace depth buffer - too many fails in depth data, because impossible to separate properly what to not draw to depth, as depth is global (also this method do not work with some games, especially modern). Both methods extremely buggy even for depth of field effect (again, except for prehistoric games, which are too simple).
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *sensei*
- Posts: 446
- Joined: 17 Apr 2014, 22:12
- Location: Schweden
Re: SweetFX lens flare
Thanks for all the replies guys!
Hmmm ReShade looks promising! Given some time with it it might even replace SweetFX. Thanks for putting up a link!
Hmmm ReShade looks promising! Given some time with it it might even replace SweetFX. Thanks for putting up a link!
_________________
| i5 3350p @3.1 | 16 GB RAM | GTX1060 | Skyrim on SSD |
My Flickr
My Soundcloud
CGI ENB
| i5 3350p @3.1 | 16 GB RAM | GTX1060 | Skyrim on SSD |
My Flickr
My Soundcloud
CGI ENB