mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
smoke fog fix
This commit is contained in:
@@ -17,11 +17,11 @@ layout(location = 1) out vec4 out_motion;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 tex_color = texture(tex1, f_coord);
|
||||
vec4 tex_color = texture(tex1, f_coord) * f_color;
|
||||
#if POSTFX_ENABLED
|
||||
out_color = tex_color * f_color;
|
||||
out_color = vec4(apply_fog(tex_color.rgb), tex_color.a);
|
||||
#else
|
||||
out_color = tonemap(tex_color * f_color);
|
||||
out_color = tonemap(vec4(apply_fog(tex_color.rgb), tex_color.a));
|
||||
#endif
|
||||
#if MOTIONBLUR_ENABLED
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user