1,entity是没有getPosition的2,node的默认position是原点3,材质脚本中定义的程序段中的source文件名后缀必须与定义的shader文件类型匹配。如:vertex_program Ogre/CelShadingVP1 hlsl{    source Example_CelShading1.hlsl    entry_point main_vp    target v
转载 2011-02-24 17:03:00
132阅读
2评论