mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
[vulkan] Actually blend lightmaps
An errant + resulted in an attempt to blend lightmaps resulting in using only the final lightmap.
This commit is contained in:
parent
cdca28bb10
commit
013fea965b
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ vulkan_build_lightmap (const mod_brush_t *brush, msurface_t *surf,
|
||||||
vec4f_t val = { VectorExpand (lightmap), 0 };
|
vec4f_t val = { VectorExpand (lightmap), 0 };
|
||||||
val *= scale;
|
val *= scale;
|
||||||
lightmap += 3;
|
lightmap += 3;
|
||||||
*bl++ = val;
|
*bl++ += val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue