fragment_program Ogre/Compositor/NightVisionFP_GL glsl glsles { source compositors/NightVisionFP.glsl default_params { param_named lum float4 0.30 0.59 0.11 0.0 param_named_auto time time_0_1 1 param_named RT int 0 param_named noiseVol int 1 } } fragment_program Ogre/Compositor/NightVisionFP_HLSL hlsl glslang { source compositors/NightVisionFP.glsl default_params { param_named lum float4 0.30 0.59 0.11 0.0 param_named_auto time time_0_1 1 } } fragment_program Ogre/Compositor/NightVisionFP unified { delegate Ogre/Compositor/NightVisionFP_GL delegate Ogre/Compositor/NightVisionFP_HLSL } material Ogre/Compositor/NightVision { technique { pass { cull_hardware none depth_func always_pass polygon_mode_overrideable false vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp { } fragment_program_ref Ogre/Compositor/NightVisionFP { } texture_unit RT { tex_coord_set 0 tex_address_mode clamp filtering trilinear } texture_unit noiseVol { texture compositors/Random3D.dds 3d tex_address_mode wrap tex_coord_set 1 } } } }