ReflectionProbe.BlendCubemap(Texture src, Texture dst, number blend, RenderTexture target)
Utility method to blend 2 cubemaps into a target render texture.
Parameters:
Name | Type | Description |
---|---|---|
src | Texture | Cubemap to blend from. |
dst | Texture | Cubemap to blend to. |
blend | number | Blend weight. |
target | RenderTexture | RenderTexture which will hold the result of the blend. |
Returns:
type | Description |
---|---|
boolean | Returns trues if cubemaps were blended, false otherwise. |
Usage
---@type Texture
local src;
---@type Texture
local dst;
---@type number
local blend;
---@type RenderTexture
local target;
local val0 = ReflectionProbe:BlendCubemap(src, dst, blend, target)