Table of Contents

Enum RenderingServer.DofBokehShape

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingServer.DofBokehShape : long

Fields

Box = 0

Calculate the DOF blur using a box filter. The fastest option, but results in obvious lines in blur pattern.

Circle = 2

Calculates DOF blur using a circle shaped filter. Best quality and most realistic, but slowest. Use only for areas where a lot of performance can be dedicated to post-processing (e.g. cutscenes).

Hexagon = 1

Calculates DOF blur using a hexagon shaped filter.