fragment_program Compositor/wboitFP_GL glsl glsles { source compositors/wboit.frag default_params { param_named accumTexture int 0 param_named revealageTexture int 1 } } fragment_program Compositor/wboitFP_HLSL hlsl glslang { source compositors/wboit.frag } fragment_program Compositor/wboitFP unified { delegate Compositor/wboitFP_GL delegate Compositor/wboitFP_HLSL } material Compositor/WBOIT { technique { pass { scene_blend add // for correct alpha blending: //scene_blend one_minus_src_alpha src_alpha vertex_program_ref Ogre/Compositor/StdQuad_Tex2_vp { } fragment_program_ref Compositor/wboitFP { } texture_unit { filtering none tex_address_mode clamp } texture_unit { filtering none tex_address_mode clamp } } } } material Compositor/Copy { technique { pass { lighting off texture_unit { filtering bilinear tex_address_mode clamp } } } }