|
|

楼主 |
发表于 2007-6-1 19:25:00
|
显示全部楼层
Re:求助,关于vertex blending和index vertex blending
'D3DVBF_DISABLE - render using the standard 1-matrix transformation pipeline
'D3DVBF_0WEIGHTS - use first matrix only, but no weights specified in each vertex
'D3DVBF_1WEIGHT - one weight value per vertex, use first two matrices
'D3DVBF_2WEIGHTS - two weight values per vertex, use first three matrices
'D3DVBF_3WEIGHTS - three weight values per vertex, use all four matrices
D3DDevice.SetRenderState D3DRS_VERTEXBLEND, D3DVBF_1WEIGHT
'standard code: tell D3D what data is being rendered next...
D3DDevice.SetVertexShader FVF_BLENDEDVERTEX2 |
|