vertex_program FireVS hlsl { source Fire.hlsl entry_point FireVS target vs_2_0 } fragment_program FirePS hlsl { source Fire.hlsl entry_point FirePS target ps_3_0 } material Fire { technique { pass { IllumTechniques { RenderTechnique Fire { texture_unit_id 1 } } lighting off //scene_blend src_alpha one scene_blend_alpha zero one scene_blend src_alpha one_minus_src_alpha depth_write off depth_check off vertex_program_ref FireVS { param_named_auto worldViewProj worldviewproj_matrix param_named_auto worldView worldview_matrix param_named_auto Proj projection_matrix param_named_auto width viewport_width param_named_auto height viewport_height } fragment_program_ref FirePS { param_named_auto farplane far_clip_distance param_named_auto nearplane near_clip_distance param_named_auto frametime frame_time 1.0 } texture_unit { anim_texture smokealpha.tga 32 2.0 //texture flare.png } texture_unit { filtering none } texture_unit { texture planck.tga } texture_unit { texture heatnoise2.tga } texture_unit { texture noise.tga } } } }