mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-11 03:39:59 +00:00
Fix comment about RM_VISCVG in PreRender_FetchFbufCoverage (#1514)
This commit is contained in:
parent
fe1b59eccc
commit
d5410fa2b8
1 changed files with 5 additions and 5 deletions
|
@ -369,12 +369,12 @@ void PreRender_FetchFbufCoverage(PreRender* this, Gfx** gfxp) {
|
||||||
//
|
//
|
||||||
// G_RM_VISCVG is the following special render mode:
|
// G_RM_VISCVG is the following special render mode:
|
||||||
// IM_RD : Allow read-modify-write operations on the framebuffer
|
// IM_RD : Allow read-modify-write operations on the framebuffer
|
||||||
// FORCE_BL : Apply the blender to all pixels rather than just edges
|
// FORCE_BL : Apply the blender to all pixels rather than just edges, skip the division step of the blend formula
|
||||||
// (G_BL_CLR_IN * G_BL_0 + G_BL_CLR_BL * G_BL_A_MEM) / (G_BL_0 + G_BL_CLR_BL) = G_BL_A_MEM
|
// (G_BL_CLR_IN * G_BL_0 + G_BL_CLR_BL * G_BL_A_MEM) = G_BL_CLR_BL * G_BL_A_MEM
|
||||||
//
|
//
|
||||||
// G_BL_A_MEM ("memory alpha") is coverage, therefore this blender configuration emits only the coverage
|
// G_BL_A_MEM ("memory alpha") is coverage, therefore this blender configuration emits only the coverage (up to a
|
||||||
// and discards any pixel colors. For an RGBA16 framebuffer, each of the three color channels r,g,b will
|
// constant factor determined by blend color) and discards any pixel colors. For an RGBA16 framebuffer, each of the
|
||||||
// receive the coverage value individually.
|
// three color channels r,g,b will receive the coverage value individually.
|
||||||
//
|
//
|
||||||
// Also disables other modes such as alpha compare and texture perspective correction
|
// Also disables other modes such as alpha compare and texture perspective correction
|
||||||
gDPSetOtherMode(gfx++,
|
gDPSetOtherMode(gfx++,
|
||||||
|
|
Loading…
Reference in a new issue