Skip to content

five-on-it / apps/client/src/renderer/screen-fx / createGasBlur

Function: createGasBlur() ​

createGasBlur(scene): GasBlur

Defined in: apps/client/src/renderer/screen-fx.ts:118

The gas's blur over a scene. Its passes are made on the scene's engine and belong to no camera until attached: a post-process made without a camera and without an engine has none to size itself by, and its first frame on a camera throws (the render loop stops).

Parameters ​

scene ​

Scene

Returns ​

GasBlur