Graphic mod / patch ENBSeries 0.197
Improved declaration of shaders variables for editing them in the game. Added color, quality and vector types of hlsl annotations. Modified shaders and textures loading code to prefer loading them from "enbseries" folder and if not found, then from main folder. Fixed non working palette texture bug of previous version.
EAdaptiveQualityFactor actually applied to all shaders, but i not wrote it everywhere, this is for dynamically increasing performance. Important! If adaptive quality set to high, then this variable varies from 0..0.3333, if quality medium, then 0..0.6666, if quality is low, then 0..1.
The examples of variables with new annotation types are:
i
Code: Select all
nt Example1 <
string UIName="Quality variable";
string UIWidget="Quality";
int UIMin = -1;
int UIMax = 2;
> = {1};
float4 Example2 <
string UIName="Color variable";
string UIWidget="Color";
float UIMin = 0.1;
float UIMax = 10.0;
> = {0.5,0.6,1.0,0.5};
float3 Example3 <
string UIName="Vector variable";
string UIWidget="Vector";
float UIMin = 0.1;
float UIMax = 10.0;
> = {0.5,0.6,1.0};