|
|

楼主 |
发表于 2006-7-31 20:11:00
|
显示全部楼层
Re:请教一下:如何在Effect下进行相当于固定功能流水里的
Transform States
Set transform states to initialize transformation matrices. Effects use transposed matrices for efficiency. You can provide transposed matrices to an effect, or an effect will automatically transpose the matrices before using them.
Transform State Type Values
ProjectionTransform float4x4 A 4x4 matrix of floats. Same values as D3DTS_PROJECTION without the D3DTS_ prefix.
TextureTransform[8] float4x4 A 4x4 matrix of floats. Same values as D3DTRANSFORMSTATETYPE without the D3DTS_ prefix.
ViewTransform float4x4 A 4x4 matrix of floats. Same values as D3DTS_VIEW without the D3DTS_ prefix.
WorldTransform float4x4 A 4x4 matrix of floats.
|
|