bit | function |
2 | Gouraud shading enable bit |
---|---|
1 | Original picture 1/2 effective bit |
0 | Base 1/2 effective bit |
color calculation | Base | Original picture | Base | Types of color operations | Available modes | |||
---|---|---|---|---|---|---|---|---|
2 | 1 | 0 | Original picture | Base | ||||
0 | 0 | 0 | − | 1 | 0 | replace | No limit | No limit |
0 | 0 | 1 | 0 | 0 | 1 | Not rewritten | No limit | No limit |
1 | 0*1 | 1/2 | shadow | RGB | ||||
0 | 1 | 0 | − | 1/2 | 0 | half luminance | RGB | No limit |
0 | 1 | 1 | 0 | 1 | 0 | replace | RGB | No limit |
1 | 1/2 | 1/2 | half translucent | |||||
1 | 0 | 0 | − | gouraud | ||||
1 | 0 | 1 | − | − | − | Setting prohibited (please do not set) | − | − |
1 | 1 | 0 | − | gouraud 1/2 | 0 | Gouraud shading + half brightness *2 | RGB | No limit |
1 | 1 | 1 | 0 | gouraud | 0 | gouraud shading | RGB | No limit |
1 | gouraud 1/2 | 1/2 | Gouraud shading + translucent *3 | RGB |
[Note]−: Don't care Original picture: Pixel data to be drawn with sprite or non-texture Base: pixel data already drawn in the frame buffer *1: The original picture (transparent pixels and end code) will be referenced. *2: After Gouraud operation, the data that has been saturated is halved. *3: After the Gouraud operation, the base is added to the data that has undergone saturation processing, making it 1/2.
┏ ━ ━ ━ ━ ━ ━ ┓ ┏━━━━━━━━━┓ ┃ MSB=0 ┃ ┃ ┌─────────┐ ┃ ┃(Pallets,┃ │ │ ┃ etc.) ┃ ┃ │Original │ ┃ ┃ ┃ │picture │ ┠───base──┨ ┃ │ │ ┃ ┃ MSB=1 ┃ └─────────┘ ┃ (RGB, ┃ ┃ ┃ ┃ etc.) ┃ ┃ ┃ ┗ ━ ━ ━ ━ ━ ━ ┛ ┗━━━━━━━━━┛ Color Color Color Color calculation calculation calculation calculation mode = 0 mode = 1 mode = 2 mode = 3 ┏━━━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┌────────────┐ ┃ ┃ ┃ ┃ ┌────────────┐ ┃ ┃ ┌────────────┐ ┃ ┃ │ │ ┃ ┃ ┃ ┃ │ │ ┃ ┃ │Replace │ ┃ ┠─┤Replace ├─┨ ┠─┬────────────┬─┨ ┠─┤Half ├─┨ ┠─┼────────────┼─┨ ┃ │ │ ┃ ┃ │Shadow │ ┃ ┃ │brightness │ ┃ ┃ │Translucent │ ┃ ┃ └────────────┘ ┃ ┃ └────────────┘ ┃ ┃ └────────────┘ ┃ ┃ └────────────┘ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━┛ ┗━━━━━━━━━━━━━━━━┛ ┗━━━━━━━━━━━━━━━━┛ ┗━━━━━━━━━━━━━━━━┛ Color Color Color Color calculation calculation calculation calculation mode = 4 mode = 5 mode = 6 mode = 7 ┏━━━━━━━━━━━━━━━━┓ ┏ ━ ━ ━ ━ ━ ━ ━ ━┓ ┏━━━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┌────────────┐ ┃ ┃ ┃ ┃ ┌────────────┐ ┃ ┃ ┌────────────┐ ┃ ┃ │ │ ┃ ┃ ┃ ┃ │Gouraud │ ┃ ┃ │Gouraud │ ┃ ┠─┤Gouraud ├─┨ ┃Settings ┃ ┠─┤ ├─┨ ┠─┼────────────┼─┨ ┃ │ │ ┃ ┃prohibited ┃ ┃ │+Half- │ ┃ ┃ │Gouraud+ │ ┃ ┃ │ │ ┃ ┃ ┃ ┃ │brightness │ ┃ ┃ │Translucent │ ┃ ┃ └────────────┘ ┃ ┃ ┃ ┃ └────────────┘ ┃ ┃ └────────────┘ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━┛ ┗ ━ ━ ━ ━ ━ ━ ━ ━┛ ┗━━━━━━━━━━━━━━━━┛ ┗━━━━━━━━━━━━━━━━┛