[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:
Bill Currie 2021-07-24 14:23:06 +09:00
parent 1300cfb14e
commit 7868936b96

View file

@ -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)