Version: 5.6 (switch to 2017.1b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ReflectionProbe.BlendCubemap

Switch to Manual
public static bool BlendCubemap(Texture src, Texture dst, float blend, RenderTexture target);

Parameters

src Cubemap to blend from.
dst Cubemap to blend to.
blend Blend weight.
target RenderTexture which will hold the result of the blend.

Returns

bool Returns trues if cubemaps were blended, false otherwise.

Description

Utility method to blend 2 cubemaps into a target render texture.