Microsoft DirectX 8.0 (Visual Basic) |
Masks out the pixel, if any texture coordinates are less than 0.
texkill tDest
This instruction can be used to implement arbitrary clip planes in the rasterizer.
When using vertex shaders, the application is responsible for applying the perspective transform. This can cause problems for the arbitrary clipping planes because if it contains anisomorphic scale factors, the clip planes would need to be transformed as well. Therefore, it is best to provide an unprojected vertex position for use in the arbitrary clipper, which is the texture coordinate set identified by the texkill operator.
Note that this instruction has an unnamed input which is the assigned texture that corresponds to this texture stage.