rpr_render_mode

Usage

Render mode set on RPR_CONTEXT_RENDER_MODE. These change the calculation type done for lighting.

Possible Values

Name

Value

Brief Explanation

RPR_RENDER_MODE_DIFFUSE

0x0a

Diffuse only lighting.

RPR_RENDER_MODE_GLOBAL_ILLUMINATION

0x1

Normal GI lighting.

RPR_RENDER_MODE_DIRECT_ILLUMINATION

0x2

Only direct lighting.

RPR_RENDER_MODE_DIRECT_ILLUMINATION_NO_SHADOW

0x3

Direct lighting with no shadowing.

RPR_RENDER_MODE_WIREFRAME

0x4

White objects with black wireframe.

RPR_RENDER_MODE_MATERIAL_INDEX

0x5

Output only Material indices.

RPR_RENDER_MODE_POSITION

0x6

Output P positions for each pixel hit.

RPR_RENDER_MODE_NORMAL

0x7

Output normal values.

RPR_RENDER_MODE_TEXCOORD

0x8

Output UV coordinates.

RPR_RENDER_MODE_AMBIENT_OCCLUSION

0x9

Output an AO render.