Make sure emissive is actually handled with atmospherics consistently.
parent
6b54c48dff
commit
f07a1741e9
|
|
@ -145,8 +145,10 @@ void main()
|
|||
|
||||
if (norm.w < 0.5)
|
||||
{
|
||||
col = mix(atmosFragLighting(col, additive, atten), fullbrightAtmosTransportFrag(col, additive, atten), diffuse.a);
|
||||
col = mix(scaleSoftClip(col), fullbrightScaleSoftClip(col), diffuse.a);
|
||||
//col = mix(atmosFragLighting(col, additive, atten), fullbrightAtmosTransportFrag(col, additive, atten), diffuse.a);
|
||||
//col = mix(scaleSoftClipFrag(col), fullbrightScaleSoftClipFrag(col, additive, atten), diffuse.a);
|
||||
col = atmosFragLighting(col, additive, atten);
|
||||
col = scaleSoftClipFrag(col);
|
||||
}
|
||||
|
||||
#ifdef WATER_FOG
|
||||
|
|
|
|||
|
|
@ -157,8 +157,10 @@ void main()
|
|||
|
||||
if (norm.w < 0.5)
|
||||
{
|
||||
col = mix(atmosFragLighting(col, additive, atten), fullbrightAtmosTransportFrag(col, additive, atten), diffuse.a);
|
||||
col = mix(scaleSoftClipFrag(col), fullbrightScaleSoftClipFrag(col, additive, atten), diffuse.a);
|
||||
//col = mix(atmosFragLighting(col, additive, atten), fullbrightAtmosTransportFrag(col, additive, atten), diffuse.a);
|
||||
//col = mix(scaleSoftClipFrag(col), fullbrightScaleSoftClipFrag(col, additive, atten), diffuse.a);
|
||||
col = atmosFragLighting(col, additive, atten);
|
||||
col = scaleSoftClipFrag(col);
|
||||
}
|
||||
|
||||
#ifdef WATER_FOG
|
||||
|
|
|
|||
Loading…
Reference in New Issue