sm64-port icon indicating copy to clipboard operation
sm64-port copied to clipboard

BUG - Vanish cap

Open mkst opened this issue 4 years ago • 1 comments

Vanish cap effect does not match N64

3DS image

N64 image

Edit:

Naive edit, applied to triangles rather than per-pixel

if (hasNoise && hasAlpha)
{
    *dst++ = buf_vbo[offset + vtxOffs++] * (rand() % 2);
}

image

Edit 2:

Seeing as there are no programmable fragment shaders on the 3DS, this is going to be tricky. Treat the colour as a texture and apply noise to that?

mkst avatar Aug 19 '20 09:08 mkst

Sometimes the n64 uses dithering for transparency when you teleport, it uses it too

Idiot64 avatar Feb 08 '21 12:02 Idiot64