Constructs a new downsampling material.
ProtectedfarThe current camera far plane value.
ProtectednearThe current camera near plane value.
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
A downsampling material.
Based on an article by Fabrice Piquet.
See
https://www.froyok.fr/blog/2021-12-ue4-custom-bloom/