Radeon ProRender

Emboss Filter

Filter

RIF_IMAGE_FILTER_EMBOSS

Description

An emboss filter gives a 3D bumpmap effect to the image.

Parameters

Parameter Type Input/Output Description
radius float input An emboss filter gives a 3D bumpmap effect to the image.
Value range is [0, 50], default value is 1.

Usage Example

rif_image_filter filter = nullptr;
rifContextCreateImageFilter(context, RIF_IMAGE_FILTER_EMBOSS, &filter);
rifImageFilterSetParameter1u(filter, "radius", 1);
rifCommandQueueAttachImageFilter(queue, filter, inputImage, outputImage);
rifContextExecuteCommandQueue(context, queue, nullptr, nullptr, nullptr);

Results

Input image

Output image (radius = 1)