Deriv From Height Texture Grad
Samples a Texture 2D height map using a gradient and returns the texture space height Derivatives.

Ports
| Name | Direction | Type | Binding | Description |
|---|---|---|---|---|
| Texture | Input | Texture 2D | None | Texture 2D height map to sample |
| Sampler | Input | Sampler State | Default sampler state | Sampler for the texture |
| UV | Input | Vector 2 | UV | UV coordinates |
| DDX UV | Input | Vector 2 | None | The UV derivatives for x |
| DDY UV | Input | Vector 2 | None | The UV derivatives for y |
| LOD | Input | Float | None | LOD level of texture to sample |
| Height Scale | Input | Float | None | Scale applied to height values |
| Deriv | Output | Vector 2 | None | Output texture space height derivatives |
| Normal | Output | Vector 3 | None | Output tangent space normal |
Controls
| Name | Type | Options | Description |
|---|---|---|---|
| Height Quality | Dropdown | High, Medium, Low | Selects the technique used to interpret height textures |