fragment_program Ogre/Compositor/OldMovieFP_HLSL hlsl glslang { source compositors/OldMovieFP.glsl } fragment_program Ogre/Compositor/OldMovieFP_GL glsl glsles { source compositors/OldMovieFP.glsl default_params { param_named RT int 0 param_named SplotchesTx int 1 param_named Texture2 int 2 param_named SepiaTx int 3 } } fragment_program Ogre/Compositor/OldMovieFP unified { delegate Ogre/Compositor/OldMovieFP_GL delegate Ogre/Compositor/OldMovieFP_HLSL } material Ogre/Compositor/OldMovie { technique { pass { cull_hardware none depth_func always_pass polygon_mode_overrideable false vertex_program_ref Ogre/Compositor/StdQuad_Tex4_vp { } fragment_program_ref Ogre/Compositor/OldMovieFP { param_named_auto time_cycle_period time 20 param_named flicker float 0.4 param_named DirtFrequency float 0.0005 param_named luminance float3 0.30 0.59 0.11 param_named frameJitter float 0.004 param_named lumiShift float 0.03 } texture_unit RT { tex_coord_set 0 tex_address_mode clamp filtering trilinear } texture_unit SplotchesTx { texture compositors/8x8PagesSplotches2.png tex_coord_set 1 tex_address_mode wrap filtering trilinear } texture_unit { texture compositors/1D_Noise.png tex_coord_set 2 tex_address_mode wrap filtering point point none } texture_unit SepiaTx { texture compositors/Sepia1D.tga tex_coord_set 3 tex_address_mode mirror filtering point point none } } } }