Description
TODO: Reference rendering here.
Being the beautiful bastards that they are, Factor 5 used some fairly fancy features for the ground in Rogue Squadron 2's land stages. Because these games weren't playable for so long in Dolphin, we don't actually emulate the feature at all.
It is the form of
case XF_TEXGEN_EMBOSS_MAP: // calculate tex coords into bump map
if (components & (VB_HAS_NRM1|VB_HAS_NRM2)) not this, this is emulated right. else { // Rogue Squadron 2's case uid_data->texMtxInfo[i].embosssourceshift = xfmem.texMtxInfo[i].embosssourceshift; out.Write("o.tex%d.xyz = o.tex%d.xyz;\n", i, texinfo.embosssourceshift); }