Skip to content

lib.img.adjust.DepthBufferAsGrayScale

Thomas Mann edited this page Jan 17, 2024 · 2 revisions

DepthBufferAsGrayScale

in lib.img.adjust


Converts the provided depth buffer into a grayscale texture.

Important: Requires the correct settings for near/far clipping.


Input Parameters

Name (Relevancy & Type) Description
Texture2d (Texture2DRequired) -
NearFarRange (Vector2) -
OutputRange (Vector2) -
ClampOutput (Boolean) -
Mode (Int32) -

Outputs

Name Type
Output SharpDX.Direct3D11.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally