al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
gDPSetAlphaDitherFormat#include "gbi.h" gDPSetAlphaDither(Gfx *gdl, unsigned int type) gsDPSetAlphaDither(unsigned int type)Arguments
It sets (or disables) various types of alpha dithering. The RDP pipeline keeps alpha values in 8-bit precision until they enter the blender. The blender processes alpha in only 5 bits of precision. Therefore, dither may be necessary to remove Mach bands. However, the alpha channel is typically used for transparency and the transparency coefficient Mach bands are much less noticeable. The various types of dither patterns all have their strengths and weaknesses, depending on other rendering modes and the content of the scene. Choosing a noise dither may give a special noisy effect while pattern dither typically yields better results when camera motion movement is slow. Following are the various types of dither you can use:
gDPSetAlphaCompare gDPSetColorDither
|