vertex_program glow_vs cg { source vs_glow.cg entry_point main profiles vs_1_1 arbvp1 } fragment_program glow_ps cg { source ps_glow.cg entry_point main profiles ps_2_0 arbfp1 } material glow { technique { pass { scene_blend alpha_blend depth_check on lighting off emissive 1.0 1.0 0.0 0.0 vertex_program_ref glow_vs { param_named_auto worldViewProjMatrix worldviewproj_matrix param_named size_value float 1.1 param_named_auto time time_0_x 100 } fragment_program_ref glow_ps { param_named alpha_value float 0.4 param_named_auto time time_0_x 100 param_named_auto color surface_emissive_colour } } } } material glow/drone { technique { pass { scene_blend alpha_blend depth_check on lighting off texture_unit { texture drone.png } } pass { scene_blend alpha_blend depth_check on lighting off emissive 0.5 0.9 1.0 0.0 vertex_program_ref glow_vs { param_named_auto worldViewProjMatrix worldviewproj_matrix param_named size_value float 0.2 param_named_auto time time_0_x 50 } fragment_program_ref glow_ps { param_named alpha_value float 0.4 param_named_auto time time_0_x 50 param_named_auto color surface_emissive_colour } } } }