OpenJK icon indicating copy to clipboard operation
OpenJK copied to clipboard

Refraction/distortion effect

Open xycaleth opened this issue 9 years ago • 2 comments

Implement refraction effect for parity with vanilla renderer.

xycaleth avatar Apr 10 '16 11:04 xycaleth

I'm on it :) I hope i can hack something together on thursday.

SomaZ avatar Apr 11 '16 16:04 SomaZ

Should the implementation include the wobble effect on the refracted surfaces? I'm not sure if that contributes much. Stuff open in my implementation so far:

  • Fade out of the effect
  • "Wobble" effect (?)
  • Depth "awareness" (maybe 2 options (r_refraction 1/2) to render it?)
  • make it possible to define refraction in an old shader type
  • clean up code (obviously)

Anything else you can imagine?

SomaZ avatar Apr 20 '16 06:04 SomaZ