?? examples.program
字號:
//---------------------------------------------------
// This file includes a number of basic GPU programs
// for use in many materials.
//---------------------------------------------------
// A really basic ambient pass program, support for one texture coodinate set
vertex_program Ogre/BasicVertexPrograms/AmbientOneTexture cg
{
source Example_Basic.cg
entry_point ambientOneTexture_vp
profiles vs_1_1 arbvp1
}
// Same as below, but for use when rendering texture shadows
vertex_program Ogre/HardwareSkinningOneWeightShadowCaster cg
{
source Example_Basic.cg
entry_point hardwareSkinningOneWeightCaster_vp
profiles vs_1_1 arbvp1
includes_skeletal_animation true
}
// Basic hardware skinning using one indexed weight per vertex
vertex_program Ogre/HardwareSkinningOneWeight cg
{
source Example_Basic.cg
entry_point hardwareSkinningOneWeight_vp
profiles vs_1_1 arbvp1
includes_skeletal_animation true
}
// Basic hardware skinning using four indexed weights per vertex
vertex_program Ogre/HardwareSkinningFourWeights cg
{
source Example_Basic.cg
entry_point hardwareSkinningFourWeights_vp
profiles vs_1_1 arbvp1
includes_skeletal_animation true
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -