Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BlendCubemap(Texture, Texture, float, RenderTexture)

Utility method to blend 2 cubemaps into a target render texture.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool BlendCubemap(Texture src, Texture dst, float blend, RenderTexture target)

Parameters

Cubemap to blend from.

Cubemap to blend to.

blend

Blend weight.

RenderTexture which will hold the result of the blend.

Returns

Type

Description

boolReturns trues if cubemaps were blended, false otherwise.