Graphic mod / patch ENBSeries 0.196
Priority of loading shaders (enbeffect.fx, effect.txt, enbeffectprepass.fx, enbsunsprite.fx, enbbloom.fx) now higher for files from "enbseries" folder, if file not found, then from root game folder will be loaded.
Annotations for shaders allows to declare parameters and use them for example as elements of interface, so i did it to simplify editing. Of course by default nothing is visible in new editor window, you must add annotations to global parameters which should be editable by users. Only few features implemented, but here is an example, simply put this code at the beginning of any external shader:
Code: Select all
float ExampleFloat <
string UIName="SampleOneFloat";
string UIWidget="Spinner";
float UIMin=0.1;
float UIMax=1.0;
> = {0.33};
float3 ExampleColor <
string UIName="SampleThreeFloat";
string UIWidget="Color";
float UIMin = 0.1;
float UIMax = 10.0;
> = {0.5,0.6,1.0};
int4 ExampleInteger <
string UIName="III";
string UIWidget="Spinner";
int UIMin = 3;
int UIMax = 10;
> = {8, 4, 6, 7};
bool2 ExampleBoolean <
string UIName = "SampleTwoBoolean";
> = {true, false};