mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-04 01:51:36 +00:00
[vulkan] Correct the skysheet scaling
Dunno where that 8 came from, but it's quite a bit different from 189/64 (2.953125). Fixes the excessively high skies in vulkan.
This commit is contained in:
parent
1300cfb14e
commit
7868936b96
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ layout (location = 0) out vec4 frag_color;
|
||||||
layout (constant_id = 0) const bool doSkyBox = false;
|
layout (constant_id = 0) const bool doSkyBox = false;
|
||||||
layout (constant_id = 1) const bool doSkySheet = false;
|
layout (constant_id = 1) const bool doSkySheet = false;
|
||||||
|
|
||||||
const float SCALE = 8.0;
|
const float SCALE = 189.0 / 64.0;
|
||||||
|
|
||||||
vec4
|
vec4
|
||||||
fogBlend (vec4 color)
|
fogBlend (vec4 color)
|
||||||
|
|
Loading…
Reference in a new issue