Method CreateFullScreenPass
CreateFullScreenPass(Material, TargetBuffer, TargetBuffer)
Create a custom pass to execute a fullscreen pass
Declaration
public static FullScreenCustomPass CreateFullScreenPass(Material fullScreenMaterial, CustomPass.TargetBuffer targetColorBuffer = TargetBuffer.Camera, CustomPass.TargetBuffer targetDepthBuffer = TargetBuffer.Camera)
Parameters
Type | Name | Description |
---|---|---|
Material | fullScreenMaterial | The material to use for your fullscreen pass. It must have a shader based on the Custom Pass Fullscreen shader or equivalent |
CustomPass.TargetBuffer | targetColorBuffer | |
CustomPass.TargetBuffer | targetDepthBuffer |
Returns
Type | Description |
---|---|
FullScreenCustomPass |