lib.img.adjust.DepthBufferAsGrayScale - tooll3/t3 GitHub Wiki

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.

⚠️ **GitHub.com Fallback** ⚠️