examples.program
来自「赫赫大名的 OGRE 游戏引擎」· PROGRAM 代码 · 共 40 行
PROGRAM
40 行
//---------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?