|
coastline 0.0.4
|
The reflection of the sky on a car: the image the parts whose texture coordinates come from their normals sample, the axes those coordinates follow, and the column of the image the window starts at, as the tile of the reflection of the race takes it. More...
#include <scenerenderer.h>

Public Attributes | |
| const RenderTexture * | texture = nullptr |
| std::array< float, 3 > | across {} |
| std::array< float, 3 > | up {} |
| float | column = 0.0f |
| std::array< float, 4 > | environment {1.0f, 1.0f, 1.0f, 1.0f} |
| The environment colour the reflection blends towards by its alpha, the fog. | |
| bool | linear = false |
| Select G_TEXTURE_GEN_LINEAR instead of regular texture generation. | |
| bool | n64 = false |
| Use RSP texture generation and tile shifts instead of the PC coordinate conversion. | |
The reflection of the sky on a car: the image the parts whose texture coordinates come from their normals sample, the axes those coordinates follow, and the column of the image the window starts at, as the tile of the reflection of the race takes it.
| const RenderTexture* coastline::Reflection::texture = nullptr |
The image of the sky.
| std::array<float, 3> coastline::Reflection::across {} |
The axis of the coordinate across the image.
| std::array<float, 3> coastline::Reflection::up {} |
The axis of the coordinate down the image.
| float coastline::Reflection::column = 0.0f |
The first column of the window, in texels.
| std::array<float, 4> coastline::Reflection::environment {1.0f, 1.0f, 1.0f, 1.0f} |
The environment colour the reflection blends towards by its alpha, the fog.
| bool coastline::Reflection::linear = false |
Select G_TEXTURE_GEN_LINEAR instead of regular texture generation.
PC mapping follows BRD3D's projection; N64 mapping uses the inverse cosine on both axes.
| bool coastline::Reflection::n64 = false |
Use RSP texture generation and tile shifts instead of the PC coordinate conversion.