Hi,
I use the pp_helper I got from wiki
view PP_Cam{layer = -2;}
entity PP_Quad
{
type = <PPE_Quad.bmp>;
layer = 0;
view = PP_Cam;
x = 1060; //878
y = 0;
z = 0;
scale_x = 1.0;
scale_y = 1.0;
}
//
function PP_Init_Effect()
{
PP_Quad.material = Shader_mat; //Change this to the material you wish<---------------------------
Bloom_set_Value(2,0.3); //Call here the function to set the materials values<------------- 4,0.9
/*
while(1)
{
if(screen_size.x == 1920)
}
*/
}
//
function PP_Toggle_OnOff()
{
if(PP_Quad.visible == on)
{
camera.bmap = NULL;
PP_Quad.visible = off;
}else
{
PP_Quad.visible = on;
camera.bmap = bmap_for_entity(PP_Quad,0);
}
}
on_b = PP_Toggle_OnOff();
Thanks