Closer OpenGL underwater/heatwave effect to Software

This commit is contained in:
James R 2022-01-12 04:30:43 -08:00 committed by SinnamonLat
parent 178979d95c
commit c83d65f6ab

View file

@ -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++)