mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-15 05:41:59 +00:00
[vulkan] Clean up a couple of issues
found via using a new render setup. Just a stray commented bit of code and lights affecting qskin alpha.
This commit is contained in:
parent
3affd3582b
commit
9998a9b2c4
2 changed files with 2 additions and 2 deletions
|
@ -1529,7 +1529,6 @@ steps = {
|
|||
{ func = bsp_visit_world;
|
||||
params = (lightmap); },
|
||||
{ func = scene_draw_viewmodel; },
|
||||
//{ func = lighting_update_lights; },
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
@ -38,5 +38,6 @@ main (void)
|
|||
light -= d * shadelight;
|
||||
light = max (light, 0.0) / 255;
|
||||
|
||||
frag_color = FogBlend (light * c + e, fog);
|
||||
c = vec4 (light * c.rgb, c.w);
|
||||
frag_color = FogBlend (c + e, fog);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue