|
Player12
An open source football management simulator
|
#include <match_render_2d_tuning.h>
Static Public Attributes | |
| static constexpr int | STRIPES = 18 |
| static constexpr int | BANDS = 8 |
| static constexpr int | CELL_SPLIT = 2 |
| static constexpr float | STRIPE_CONTRAST = 0.055f |
| static constexpr float | BAND_CONTRAST = 0.018f |
| static constexpr float | NOISE_METRES = 9.0f |
| static constexpr float | NOISE_STRENGTH = 0.08f |
| static constexpr float | FINE_NOISE_METRES = 2.6f |
| static constexpr float | FINE_NOISE_STRENGTH = 0.045f |
| static constexpr float | LIGHT_CENTRE = 1.06f |
| static constexpr float | LIGHT_EDGE = 0.86f |
| static constexpr ImU32 | PITCH_COLOR = IM_COL32(50, 128, 52, 255) |
| static constexpr ImU32 | RUN_OFF_COLOR = IM_COL32(40, 106, 44, 255) |
| static constexpr ImU32 | WEAR_COLOR = IM_COL32(84, 78, 44, 255) |
| static constexpr std::uint8_t | WEAR_ALPHA = 70 |
| static constexpr int | WEAR_SEGMENTS = 12 |
Mown surface: stripes along the length, cross bands for a checker.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Each cell is split so the lighting gradient stays smooth.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Soft overhead light: bright centre, darker touchlines and corners.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Worn goalmouths and spots: darker, browner turf.
|
staticconstexpr |