Deriv From Height Texture
Samples a Texture 2D height map 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 |
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 |