vertex_program cutout____vs glsl glsles glslang hlsl { source assets/materials/cutout_vp.glsl default_params { param_named_auto wvpMat worldviewproj_matrix } } fragment_program cutout____fp_HLSL hlsl { source assets/materials/cutout_fp.glsl } fragment_program cutout____fp_GL glsl glsles glslang { source assets/materials/cutout_fp.glsl default_params { param_named diffuseMap int 0 } } fragment_program cutout____fp unified { delegate cutout____fp_HLSL delegate cutout____fp_GL default_params { param_named cutoutColor float4 0.0 1.0 0.0 1.0 param_named minDistance float 0.2 param_named maxDistance float 0.6 } }