source: GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/materials/scripts/Examples.program @ 1493

Revision 1493, 1.2 KB checked in by igarcia, 18 years ago (diff)
Line 
1//---------------------------------------------------
2// This file includes a number of basic GPU programs
3// for use in many materials.
4//---------------------------------------------------
5
6
7// A really basic ambient pass program, support for one texture coodinate set
8vertex_program Ogre/BasicVertexPrograms/AmbientOneTexture cg
9{
10        source Example_Basic.cg
11        entry_point ambientOneTexture_vp
12        profiles vs_1_1 arbvp1
13}
14
15// Same as below, but for use when rendering texture shadows
16vertex_program Ogre/HardwareSkinningOneWeightShadowCaster cg
17{
18        source Example_Basic.cg
19        entry_point hardwareSkinningOneWeightCaster_vp
20        profiles vs_1_1 arbvp1
21        includes_skeletal_animation true
22}
23// Basic hardware skinning using one indexed weight per vertex
24vertex_program Ogre/HardwareSkinningOneWeight cg
25{
26   source Example_Basic.cg
27   entry_point hardwareSkinningOneWeight_vp
28   profiles vs_1_1 arbvp1
29   includes_skeletal_animation true   
30}
31// Basic hardware skinning using four indexed weights per vertex
32vertex_program Ogre/HardwareSkinningFourWeights cg
33{
34   source Example_Basic.cg
35   entry_point hardwareSkinningFourWeights_vp
36   profiles vs_1_1 arbvp1
37   includes_skeletal_animation true
38}
39
Note: See TracBrowser for help on using the repository browser.