mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-01 01:20:40 +00:00
Comments
This commit is contained in:
parent
e6ccd0729f
commit
94cbe0c12a
@ -180,7 +180,9 @@ static void TransformTexCoordRegular(const TexMtxInfo& texinfo, int coordNum, bo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO write comment
|
// When q is 0, the GameCube appears to have a special case
|
||||||
|
// This can be seen in devkitPro's neheGX Lesson08 example for Wii
|
||||||
|
// Makes differences in Rogue Squadron 3 (Hoth sky) and The Last Story (shadow culling)
|
||||||
if (dst->z == 0.0f)
|
if (dst->z == 0.0f)
|
||||||
{
|
{
|
||||||
dst->x = MathUtil::Clamp(dst->x / 2.0f, -1.0f, 1.0f);
|
dst->x = MathUtil::Clamp(dst->x / 2.0f, -1.0f, 1.0f);
|
||||||
|
@ -381,8 +381,10 @@ ShaderCode GenerateVertexShaderCode(APIType api_type, const vertex_shader_uid_da
|
|||||||
i, i, i, i);
|
i, i, i, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO write comment
|
// When q is 0, the GameCube appears to have a special case
|
||||||
// TODO check if it only affects XF_TEXGEN_REGULAR more
|
// This can be seen in devkitPro's neheGX Lesson08 example for Wii
|
||||||
|
// Makes differences in Rogue Squadron 3 (Hoth sky) and The Last Story (shadow culling)
|
||||||
|
// TODO: check if this only affects XF_TEXGEN_REGULAR
|
||||||
if (texinfo.texgentype == XF_TEXGEN_REGULAR)
|
if (texinfo.texgentype == XF_TEXGEN_REGULAR)
|
||||||
{
|
{
|
||||||
out.Write("if(o.tex%d.z == 0.0f)\n", i);
|
out.Write("if(o.tex%d.z == 0.0f)\n", i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user