|
coastline 0.0.4
|
The specular highlight of a car, as the PC release generates its coordinates for the tile of gDPSetHilite1Tile(): a quarter of the dot of the normal with each axis across the texture, from the offset of the tile, added to the colour drawn where the depth is equal. More...
#include <scenerenderer.h>

Public Attributes | |
| const RenderTexture * | texture |
| std::array< float, 3 > | across {} |
| std::array< float, 3 > | up {} |
| float | s = 0.0f |
| float | t = 0.0f |
| std::array< std::uint32_t, 2 > | combine {} |
| std::array< float, 4 > | primitive {} |
The specular highlight of a car, as the PC release generates its coordinates for the tile of gDPSetHilite1Tile(): a quarter of the dot of the normal with each axis across the texture, from the offset of the tile, added to the colour drawn where the depth is equal.
| const RenderTexture* coastline::Highlight::texture |
The texture of the highlight, its alpha the shine.
| std::array<float, 3> coastline::Highlight::across {} |
The axis of the coordinate across the texture.
| std::array<float, 3> coastline::Highlight::up {} |
The axis of the coordinate down the texture.
| float coastline::Highlight::s = 0.0f |
The offset across the texture, from 0 to 1.
| float coastline::Highlight::t = 0.0f |
The offset down the texture, from 0 to 1.
| std::array<std::uint32_t, 2> coastline::Highlight::combine {} |
The words of gDPSetCombineLERP().
| std::array<float, 4> coastline::Highlight::primitive {} |
The primitive colour, from 0 to 1.