Nintendo 1504166 - Game Boy Advance SP Edition Console Programming Manual page 83

Programming manual
Table of Contents

Advertisement

AGB Programming Manual
The color special effects arithmetic expressions that use the coefficients are shown
below.
1.
Blending (16 levels of semi-transparency) Operations
Display color (R) = 1st pixel color (R) ×EVA + 2nd pixel color (R)×EVB
Display color (G) = 1st pixel color (G) ×EVA + 2nd pixel color (G) ×EVB
Display color (B) = 1st pixel color (B) ×EVA + 2nd pixel color (B) ×EVB
2. Brightness Increase Operations
Display color (R) = 1st pixel (R) + (31 - 1st pixel (R) ) ×EVY
Display color (G) = 1st pixel (G) + (63 - 1st pixel (G) ) ×EVY
Display color (B) = 1st pixel (B) + (31 - 1st pixel (B) ) ×EVY
3. Brightness Decrease Operations
Display color (R) = 1st pixel (R) - 1st pixel (R) ×EVY
Display color (G) = 1st pixel (G) - 1st pixel (G) ×EVY
Display color (B) = 1st pixel (B) - 1st pixel (B) ×EVY
©1999 - 2001 Nintendo of America Inc.
83
Color Special Effects
D.C.N. AGB-06-0001-002B4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agb series

Table of Contents