文档

Unity Engine

Unity Engine

BlendCubemap(Texture, Texture, float, RenderTexture)

Utility method to blend 2 cubemaps into a target render texture.
阅读时间1 分钟最后更新于 1 个月前

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.