Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

RenderTexture.isVolume

public var isVolume: bool;

Description

If enabled, this Render Texture will be used as a Texture3D.

Volumetric render textures currently only work on DirectX 11. You can render into them using "random access writes" from a pixel shader or a compute shader.

See Also: volumeDepth, enableRandomWrite.