Constructs a new upsampling material.
ProtectedfarThe current camera far plane value.
ProtectednearThe current camera near plane value.
A support buffer.
Assumed to use the same texture type as the main input buffer.
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.
An upsampling material.
Based on an article by Fabrice Piquet.
See
https://www.froyok.fr/blog/2021-12-ue4-custom-bloom/