mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-22 16:01:25 +00:00
Brighten particles a touch. New blended particles are on average a little less bright anyways.
This commit is contained in:
parent
bcb8ec45da
commit
ae0b9b7215
1 changed files with 3 additions and 3 deletions
|
@ -62,9 +62,9 @@ GDT_InitDotParticleTexture (void)
|
||||||
|
|
||||||
for (x = 0; x < 16; x++) {
|
for (x = 0; x < 16; x++) {
|
||||||
for (y = 0; y < 16; y++) {
|
for (y = 0; y < 16; y++) {
|
||||||
data[y][x][0] = 244;
|
data[y][x][0] = 255;
|
||||||
data[y][x][1] = 244;
|
data[y][x][1] = 255;
|
||||||
data[y][x][2] = 244;
|
data[y][x][2] = 255;
|
||||||
dx = x - 8;
|
dx = x - 8;
|
||||||
dy = y - 8;
|
dy = y - 8;
|
||||||
d = 255 - 4 * (dx * dx + dy * dy);
|
d = 255 - 4 * (dx * dx + dy * dy);
|
||||||
|
|
Loading…
Reference in a new issue