Documentation

Unity Engine

Unity Engine

RGFloat

Two color (RG) render texture format, 32 bit floating point per channel.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
RGFloat = 12

Remarks

Note that not all graphics cards support floating point render textures. Use SystemInfo.SupportsRenderTextureFormat to check for support.