Xorchan's Modular ENB Effect.txt Framework

general download section
Post Reply
  • Author
  • Message
Offline
User avatar
*blah-blah-blah maniac*
Posts: 849
Joined: 28 Dec 2011, 00:50

Re: Xorchan's Modular ENB Effect.txt Framework

Well, the files all look right...

If I comment out the Film Grain include in effect.txt, then I do get the Faux-Cel effect in the game:

Code: Select all

#include "common.fxh"
#include "Data\shaders\fauxcell.fxh"
//#include "Data\shaders\filmgrain.fxh"
#include "technique.fxh"
And if I don't comment it out I just get the Film Grain:

Code: Select all

#include "common.fxh"
#include "Data\shaders\fauxcell.fxh"
#include "Data\shaders\filmgrain.fxh"
#include "technique.fxh"
... and if I move the technique include above the local includes, I get no effects:

Code: Select all

#include "common.fxh"
#include "technique.fxh"
#include "Data\shaders\fauxcell.fxh"
#include "Data\shaders\filmgrain.fxh"
I still cannot get them to both load at once.... :(
Basically, I still get the same result whether #include "common.fxh" and #include "technique.fxh" are moved to the global effect.txt file or if they remain within the local .fxh files...
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17444
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Xorchan's Modular ENB Effect.txt Framework

#define SHADER PS_FauxCell
#define SHADER PS_PostProcess
These two undefined to global when included after global files. Try attached version, compare to your own:

EDIT: file deleted
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 849
Joined: 28 Dec 2011, 00:50

Re: Xorchan's Modular ENB Effect.txt Framework

Hi Boris,

Thanks for the fileset! I tried what you provided but it still only rendered the Cel Shader effect in the game?

I looked at what you did with the files:
- common.fxh is included in the global effect.txt file
- #define SHADER PS_FauxCell is at the bottom of the FauxCell.fxh
- #define SHADER PS_PostPorcess is at the bottom of the FilmGrain.fxh
- #include "technique.fxh" is at the bottom of FauxCell.fxh and FilmGrain.fxh


Are you saying that the following definitions must be added to a global file, i.e. the effect.txt?

#define SHADER PS_FauxCell
#define SHADER PS_PostProcess
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17444
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Xorchan's Modular ENB Effect.txt Framework

In attached shaders both effects are working, you can test this by modifying them, for example color.r*=2; res.g*=2;
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 530
Joined: 30 Jan 2012, 13:18

Re: Xorchan's Modular ENB Effect.txt Framework

Could I include some of these shaders into my Master Effect project? It's basically an effect.txt file with own .ini file, has about 15 separately enableable effects, not only tonemapping, sharpen or such but also bloom, 3 DOF versions, lensflare, hsv color grading and much more.

Offline
User avatar
*blah-blah-blah maniac*
Posts: 849
Joined: 28 Dec 2011, 00:50

Re: Xorchan's Modular ENB Effect.txt Framework

@Boris...

Huh? The files you provided only produce the cel shader effect for me. Maybe some user error by me when installing? Will try again this afternoon...


@Marty

The shaders are not 'mine' to give, though you could probably use them. The filmgrain shader is from Boris, and the cel-shader I THOUGHT was from Boris but it's not...
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17444
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Xorchan's Modular ENB Effect.txt Framework

Write these:

Code: Select all

in [b]fauxcell.fxh[/b]
color.r*=2.0;
before this line:

Code: Select all

return color;
and in filmgrain.fxh

Code: Select all

res.g*=2.0;
before this line:

Code: Select all

return res;
if you will see yellow image (like i see), then both shaders work.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 849
Joined: 28 Dec 2011, 00:50

Re: Xorchan's Modular ENB Effect.txt Framework

Hi Boris,

I added those lines, and I get a very RED/PINK image along with the cell shader effect, still no film grain...
... is it possible the d3d9.dll I am using could affect this somehow?

EDIT: file deleted
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17444
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Xorchan's Modular ENB Effect.txt Framework

0.075 is very old and probably the problem in it, multipass may not supported.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 849
Joined: 28 Dec 2011, 00:50

Re: Xorchan's Modular ENB Effect.txt Framework

Ah, ok! Do you know the oldest version to support multipass, or at least some simple version? I am looking for post-processing only (for Beyond Good & Evil) so do not need any depth-based effects etc... Maybe the generic 0.76 supports multi...? Will try...

EDIT: Hmm, I tried 0.76 for GTA SA, which has in description: "Modified ssao and ssil effects for better quality and performance, added support of multipass effect.txt shaders."
Still I only see the cel-shader?? Are you sure the files you are using are the exact same as what is in the ZIP file you shared?
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
Post Reply