Method CreatePlanarProbeRenderTarget
CreatePlanarProbeRenderTarget(int, GraphicsFormat)
Create the texture used as target for a realtime planar reflection probe.
Declaration
public static RenderTexture CreatePlanarProbeRenderTarget(int planarSize, GraphicsFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| int | planarSize | The size of the texture |
| GraphicsFormat | format | The planar probe format. It must match the format set in the asset. |
Returns
| Type | Description |
|---|---|
| RenderTexture | The texture used as planar reflection probe target |