Improved black hole effect rendering. It is now a fullscreen distortion shader, instead of a billboard with distortion shader. This helped to get rid of pixelization visible if you go close to the black hole. It is also now more physically-accurate - it used right formula.

These pairs of screenshots was taken in the same distance. The size of the lensing effect is changed due to switch to the physically-accurate formula. I will improve the ship warp field effect in the same way.


Even better quality upgrade: generating mipmap levels of the frame texture before applying the gravity lensing effect. It helps to get rid of moire (gaps in lines) and stars shimmering. I'm not sure though if this is really needed improvement - on real scenes difference is not very noticeable, but performance hit may be significant on common GPUs.