Harry Potter Effect

From Custom Mario Kart
Jump to: navigation, 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.

N64 Kalimari Desert
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 Transparency

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.

Here you can see it.