Normalize color storage
Colors are now normalized to 0 - 1 values instead of 0 - 255 causes calculations to be simpler and generally cleans up the codebase.
This commit is contained in:
parent
0e3547e0f6
commit
96198dae55
18 changed files with 71 additions and 72 deletions
|
|
@ -57,7 +57,7 @@ struct SRenderData {
|
|||
bool dontRound = true;
|
||||
|
||||
// for fade
|
||||
float fadeAlpha = 255.f;
|
||||
float fadeAlpha = 1.f;
|
||||
|
||||
// for alpha settings
|
||||
float alpha = 1.f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue