GTcreyon / SM63Redux

Code base for Super Mario 63 Redux
https://sm63redux.com
Mozilla Public License 2.0
193 stars 25 forks source link

Stray pixels in glowing pause menu shine #289

Open Koopa1018 opened 6 months ago

Koopa1018 commented 6 months ago

Describe the bug After fixing the rewritten glow shader multiple times, the level info screen's shine icon looks like this:

image

Note the stray pixels on the left side, compared to the right. Based on the bugs that came before, it seems to be outlining as though the left column of texels is being extended to the edge of the mesh.

This icon is the only thing exhibiting this bug. Every other glowing object in the game looks correct, though it can be reproduced in shine sprites by setting their material's Cell Count to (1, 1).

To Reproduce

  1. In-game, open the pause menu.

Expected behavior The shine icon appears

Screenshots See above.

System Information

Additional context This might possibly be a lot easier if the textureSize(...) function returned anything other than 0.