mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Closer OpenGL underwater/heatwave effect to Software
This commit is contained in:
parent
178979d95c
commit
c83d65f6ab
1 changed files with 6 additions and 6 deletions
|
|
@ -6761,15 +6761,15 @@ void HWR_DoPostProcessor(player_t *player)
|
||||||
// Modifies the wave.
|
// Modifies the wave.
|
||||||
if (*type == postimg_water)
|
if (*type == postimg_water)
|
||||||
{
|
{
|
||||||
WAVELENGTH = 20; // Lower is longer
|
WAVELENGTH = 5;
|
||||||
AMPLITUDE = 20; // Lower is bigger
|
AMPLITUDE = 20;
|
||||||
FREQUENCY = 16; // Lower is faster
|
FREQUENCY = 8;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WAVELENGTH = 10; // Lower is longer
|
WAVELENGTH = 10;
|
||||||
AMPLITUDE = 30; // Lower is bigger
|
AMPLITUDE = 60;
|
||||||
FREQUENCY = 4; // Lower is faster
|
FREQUENCY = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (x = 0; x < SCREENVERTS; x++)
|
for (x = 0; x < SCREENVERTS; x++)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue