Skip to main content

Pragma Renderer

The Pragma renderer is significantly faster than the raytraced renderers, however there are several prerequisite steps you have to take to get the most out of it.

Reflection Probe

A reflection probe contains a cubemap image of the scene, which contains lighting information used by reflective objects. Without a reflection probe, reflective objects will look unnatural.

Fortunately setting up a reflection probe is very simple:

Placement

There should be one reflection probe in your scene, somewhere close to the camera and near the center of your scene. Make sure the probe is not within any objects or close to any walls and that most of your scene is visible from the reflection probe's position.

The easiest way to place it is to move the work camera to where you want to move the reflection probe, then right-click the probe in the actor editor and choose "Move actor to work camera".

Reflection probes are not visible in the viewport, but you can see its location by selecting it in the actor editor, and entering move mode by pressing the pragma_2022-07-16_20-26-30.png button:

probe_location.png

The rotation of the probe does not matter.

Baking

Once the reflection probe is in place, it will have to be baked. To do so, select the "reflection_probe" component in the component list, and press the "Bake reflection probe" button:

bake_refl_probe_button.png

The baking process may take a minute or more, make sure not to deselect the component while this is happening or the process will be cancelled.

Once baking is complete, a window like this should pop up:

refl_probe_window.png

If all of the static actors in your scene are visible, the baking process was successful. You can now close the window and save the project.

The reflection probe will have to be rebuild if you move any of the static actors or add any new static actors to the scene. For this reason it's best to do it right before you're about to do the final render of your scene.

 

Lightmap Baking

<TODO>

Ambient occlusion baking

<TODO>

 

Shadowed light sources

<TODO>