Harry Potter Effect

From Custom Mario Kart
Revision as of 17:29, 19 July 2020 by Zachruff (talk | contribs)
Jump to navigation Jump to search

This page is a part of the Custom Track Tutorial. Back to the main tutorial page.

Harry Potter Effect

The "Harry Potter Effect" is a texturing glitch that appears only in custom tracks created with the BRRES Editor. It was named like that by the community members because of Harry Potter's invisibility cloak - it's not invisible, but it covers what's behind it.

This glitch happens if the transparent polygons in the BRRES file appear before the normal ones. The previous polygon will always appear on top of the later one, even if it's transparent.

File:HarryPottereffect.png
Here you can see the "Harry Potter Effect" in an old GCN Sherbet Land preview.

To fix this problem, you must use BrawlBox. Check this section: Materials for Textures With Transparrency

Make sure that, in the texture reference under each material, Scale is set to to (1,1) and Translation to (0,0). This will avoid your texture from becoming a solid color in game. Repeat the step with each material.

Anti Harry Potter Effect

If this or some other glitch occurs after fixing your BRRES file in BrawlBox, you probably unintentionally changed another setting.

In this screenshot, the "DepthFunction" setting of the red wall was mistakenly set to "Greater" instead of "Less or Equal" like normal.

File:AntiHarryPotterEffect.png
Here you can see it.