SimpleDOF.cs
This is a legacy script.
Please update to version 1.2 use the Post Processing Depth of Field effect instead.
To apply SimpleDOF.cs, simply drag it onto the Holoplay Capture object.
Fields
The following 4 fields describe the DOF blur envelope.
start
dip
rise
end
All envelope values have depth values as measured in multiples of holoplay.size. Objects that appear between
negative infinity and
startdepth will appear with blurSize amount of blurstartdepth anddipdepth will appear at a linearly interpolated blur amount between blurSize and 0dipdepth andrisedepth will appear at 0 blurrisedepth andenddepth will appear at a linearly interpolated blur amount between 0 and blurSizeendand positive infinity will appear at blurSize amount of blur
holoplay
Type: Holoplay
Which Holoplay is this blur associated with
blurSize
Type: float
Amount of blur, as measured in pixels on a boxBlur
horizontalOnly
Type: bool
Usually SimpleDOF is applied to account for visual artifacts. With the Looking Glass, these artifacts only occur horizontally, so by default this script only blurs horizontally. Uncheck to blur horizontally and vertically.
testFocus
Type: bool
Displays a gradient to visualize the focus.
Black means in between
dipandriseand therefore appears with no blurWhite means before
startor afterendand therefore full blur amount
Last updated
Was this helpful?