Method CreateReflectionProbeRenderTarget
CreateReflectionProbeRenderTarget(int)
Create the texture used as target for a realtime reflection probe.
Declaration
[Obsolete("Use CreateReflectionProbeRenderTarget with explicit format instead", true)]
public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize)
Parameters
| Type | Name | Description | 
|---|---|---|
| int | cubemapSize | The cubemap size.  | 
    
Returns
| Type | Description | 
|---|---|
| RenderTexture | The texture to use as reflection probe target.  | 
    
CreateReflectionProbeRenderTarget(int, GraphicsFormat)
Create the texture used as target for a realtime reflection probe.
Declaration
public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize, GraphicsFormat format)
Parameters
| Type | Name | Description | 
|---|---|---|
| int | cubemapSize | The cubemap size.  | 
    
| GraphicsFormat | format | The cubemap format. It must match the format set in the asset.  | 
    
Returns
| Type | Description | 
|---|---|
| RenderTexture | The texture to use as reflection probe target.  |