Oyama:
At least it has become a lot better to go through the code now, it's a lot "cleaner" and now I know for sure that nothing I have added is functioning in a bad way
Well if it is a problem with having both Day and night in the same command, the .x, .y you could try separating it.
From this example;
Code: Select all
//EXTERIOR
float2 EBrightnessV1Ext = float2( 3.1, 1.5 );
//INTERIOR
float2 EBrightnessV1Int = float2( 0.2, 0.2 );
-----------
float EBrightnessV5 = lerp(EBrightnessV5Int.x, EBrightnessV5Int.y, JKNightDayFactor);
if ( JKInteriorFactor - 1 ) {
EBrightnessV5 = lerp(EBrightnessV5Ext.x, EBrightnessV5Ext.y, JKNightDayFactor);
};
color.xyz*=EBrightnessV5;
To this example;
Code: Select all
//EXTERIOR
float2 EBrightnessV1ExtDay = 1.5;
float2 EBrightnessV1ExtNight = 3.1;
//INTERIOR
float2 EBrightnessV1IntDay = 0.2;
float2 EBrightnessV1IntNight = 0.2;
-----------
float EBrightnessV5 = lerp(EBrightnessV5IntNight, EBrightnessV5IntDay, JKNightDayFactor);
if ( JKInteriorFactor - 1 ) {
EBrightnessV5 = lerp(EBrightnessV5ExtNight, EBrightnessV5ExtDay, JKNightDayFactor);
};
color.xyz*=EBrightnessV5;
See if that code change helps, otherwise I will have a look at your your current uploaded enbeffectprepass.fx over at nexus right away and see if I can spot the problem
I also attached my latest enbeffect.fx under here