OpenJK
OpenJK copied to clipboard
Refraction/distortion effect
Implement refraction effect for parity with vanilla renderer.
I'm on it :) I hope i can hack something together on thursday.
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?