oh, no, not like this. more like this:
Code:
material mat_vFx
{
effect="vFx1.fx";
}
entity rv_mdl
{
type = <quad.mdl>;
layer = 1;
view = camera;
x = 100;
y = 0;
z = 0;
material=mat_vFx;
}
//use this funtion to enable/disable the postprocess:
function update_vFx(a) {
if (a==1)
{
rv_mdl.visible = 1;
camera.bmap=bmap_for_entity(rv_mdl,0);
}
else
{
rv_mdl.visible = 0;
camera.bmap=null;
}
}