Microsoft DirectX 8.1 (Visual Basic) |
Enables tessellator-generated normals.
Function D3DVSD_TESSNORMAL(VertexRegisterIn As Long, VertexRegisterOut As Long) As Long D3DVSD_TESSNORMAL = (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) Or _ ((VertexRegisterIn) * 2 ^ D3DVSD_VERTEXREGINSHIFT) Or _ ((&H2&) * 2 ^ D3DVSD_DATATYPESHIFT) Or (VertexRegisterOut)) End Function
D3DVSD_TESSNORMAL and all the constants it uses are found in (SDK Root)\Samples\Multimedia\VBSamples\Common\D3DShaders.bas.