mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
removed gamma correction formula...not needed
This commit is contained in:
parent
5eeb1fbbcf
commit
f96161f01e
@ -413,8 +413,6 @@ static_set_gamma(float gamma) {
|
|||||||
y[j] = 255;
|
y[j] = 255;
|
||||||
};
|
};
|
||||||
|
|
||||||
gamma = (2 * gamma) + 1.0;
|
|
||||||
|
|
||||||
y[0] = 256 * gamma;
|
y[0] = 256 * gamma;
|
||||||
y[1] = 256 * gamma;
|
y[1] = 256 * gamma;
|
||||||
y[2] = 256 * gamma;
|
y[2] = 256 * gamma;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user