1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

General/Misc. Optifine Causes Flickering Weapon Textures + Fix

Discussion in 'Resolved Issues' started by Aieee!, Aug 4, 2019.

  1. Aieee!

    Aieee! Well-Known Adventurer

    Messages:
    7
    Likes Received:
    12
    Trophy Points:
    47
    Minecraft:
    While playing the game with Optifine, I found that I had some weird flickering textures. My friend (not using Optifine) did not experience the issue, so evidently it's an Optifine issue. It only happened with certain weapon models, usually ones with the spinning orbs. I managed to fix the issue, and wanted to present my findings.

    Here is what I observed:
    https://imgur.com/iJxO5fc
    What causes it? Apparently Optifine doesn't know what to do when a face has no pixels in its UV Map.
    So I fixed it myself:
    https://imgur.com/N4RVvLN
    It's pretty simple to fix too, only requires text editing. The re-texturing can be handled by one image.

    1. Create a 2x2 blank texture in `/assets/minecraft/textures/wynn/weapons` called blank.png
    https://imgur.com/jEalkH3

    2. Modify the .json file for the desired model to include the blank texture
    https://imgur.com/vfUueuL

    3. Modify the faces in the .json file that are causing the issue
    https://imgur.com/5BwtLW0

    That's it. If you are using Notepad++ you can use this replace command to easily correct all of the faces to the blank texture.
    https://imgur.com/sfSoKM8

    (Sorry for lots of edits, my images didn't embed properly so they're now just links)