material MyGroundMaterial { technique { pass { // cull_hardware anticlockwise // cull_software none lighting off texture_unit { texture grass_1024.jpg tex_address_mode mirror } } } } material MyAnimMaterial { technique { pass { texture_unit { anim_texture 0.8 01.png 02.png 03.png 04.png // anim_texture grass_1024.jpg dirt01.jpg cloudy_noon_fr.jpg 5 } } } } fragment_program Ogre/Compositor/InvertFP glsl { source invert.frag } vertex_program StdQuad glsl { source StdQuad_vp.glsl } material QuadMaterial2 { technique { pass { // vertex_program_ref StdQuad {} fragment_program_ref Invert {} lighting off // depth_write off // ambient 1 0 0 0 texture_unit { texture r2skin.jpg } } } } //fragment_program Ogre/Compositor/GlassFP cg //{ // source GlassFP.cg // entry_point main_ps // profiles ps_2_0 arbfp1 //} fragment_program Ogre/Compositor/GlassFP glsl { source GlassFP.frag } material Ogre/Compositor/GlassPass { technique { pass { depth_check off // vertex_program_ref Ogre/Compositor/StdQuad {} fragment_program_ref Ogre/Compositor/GlassFP { } texture_unit RT { tex_address_mode clamp filtering linear linear linear } texture_unit { texture WaterNormal1.tga 2d tex_coord_set 1 tex_address_mode mirror filtering linear linear linear } } } } material QuadMaterial { technique { pass { depth_check on vertex_program_ref Ogre/Compositor/StdQuad {} fragment_program_ref Ogre/Compositor/GlassFP { } texture_unit RT { tex_address_mode clamp filtering linear linear linear } texture_unit { texture WaterNormal1.tga 2d tex_coord_set 1 tex_address_mode mirror filtering linear linear linear } } } } material Ogre/Compositor/Invert { technique { pass { cull_hardware none cull_software none depth_func always_pass // vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp // { // } fragment_program_ref Ogre/Compositor/InvertFP { } texture_unit RT { tex_coord_set 0 tex_address_mode clamp filtering trilinear } } } } material CubeMaterial { technique { pass { texture_unit { texture dirt01.jpg } } } }