Skip to content
Permalink
Browse files
Merge pull request #10399 from Pokechu22/ubershader-fog-typo
UberShaderPixel: Fix typo in fog calculation
  • Loading branch information
JosJuice committed Jan 27, 2022
2 parents c2bf3a4 + cc9ed48 commit 80771ec
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1062,7 +1062,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
" }} else {{\n"
" // orthographic\n"
" // ze = a*Zs (here, no B_SHF)\n"
" ze = " I_FOGF ".z * float(zCoord) / 16777216.0;\n"
" ze = " I_FOGF ".x * float(zCoord) / 16777216.0;\n"
" }}\n"
"\n"
" if (bool({})) {{\n",

0 comments on commit 80771ec

Please sign in to comment.