Skip to main content

Module effects

Module effects 

Source
Expand description

Post-processing effects for rendered images

Functionsยง

apply_shading
Combines two images with shading
blur_ssao
Blurs the given image, which is expected to be an SSAO occlusion map
compute_ssao
Computes SSAO occlusion at each pixel in an image
denoise_normals
Denoise normals by replacing back-facing normals with their average neighbor
ssao_kernel
Returns a SSAO kernel matrix
ssao_noise
Returns an SSAO noise matrix
to_debug_bitmap
Converts a DistancePixel image into a debug visualization
to_rgba_bitmap
Converts a DistancePixel image into an RGBA bitmap
to_rgba_distance
Converts a DistancePixel image to a SDF rendering