Thank you So Much! I think so! And This is the bloom source code in fpsc. I show code to you.
Global Main_Camera_FOV# = 75.0
Global bloom_fov#=100.0
Global bloom_sw#
Global bloom_sh#
Global bloom_dis#
Global bloom_brightness#=0.2
Global bloom_blurWidth#=0.005
Global bloom_cam=50
Global bloom_img=50
Global bloom_obj=50
Global offsetX#
if peeklean#=0.0
if (plrkeyW)=1
if (plrkeyA)=1 then dec moveroty#,35 : Roll Camera Left 3 : Roll Camera Left bloom_cam,3 : Roll Object Left bloom_obj+2,3
if (plrkeyD)=1 then inc moveroty#,35 : Roll Camera Right 3 : Roll Camera Right bloom_cam,3 : Roll Object Right bloom_obj+2,3
if (plrkeyA)=0 then Roll Camera Left 0 : Roll Camera Left bloom_cam,0 : Roll Object Left bloom_obj+2,0
if (plrkeyD)=0 then Roll Camera Right 0 : Roll Camera Right bloom_cam,0 : Roll Object Right bloom_obj+2,0
else
if (plrkeyS)=1
if (plrkeyA)=0 and (plrkeyD)=0 then inc moveroty#,180
if (plrkeyA)=1 then dec moveroty#,145 : Roll Camera Left 3 : Roll Camera Left bloom_cam,3 : Roll Object Left bloom_obj+2,3
if (plrkeyD)=1 then inc moveroty#,145 : Roll Camera Right 3 : Roll Camera Right bloom_cama,3 : Roll Object Right bloom_obj+2,3
if (plrkeyA)=0 then Roll Camera Left 0 : Roll Camera Left bloom_cam,0 : Roll Object Left bloom_obj+2,0
if (plrkeyD)=0 then Roll Camera Right 0 : Roll Camera Right bloom_cam,0 : Roll Object Right bloom_obj+2,0
else
if (plrkeyA)=1 then dec moveroty#,90 : Roll Camera Left 3 : Roll Camera Left bloom_cam,3 : Roll Object Left bloom_obj+2,3
if (plrkeyD)=1 then inc moveroty#,90 : Roll Camera Right 3 : Roll Camera Right bloom_cam,3 : Roll Object Right bloom_obj+2,3
if (plrkeyA)=0 then Roll Camera Left 0 : Roll Camera Left bloom_cam,0 : Roll Object Left bloom_obj+2,0
if (plrkeyD)=0 then Roll Camera Right 0 : Roll Camera Right bloom_cam,0 : Roll Object Right bloom_obj+2,0
endif
endif
_Bloom_CameraUpdate:
`Update bloom camera
position camera bloom_cam,camera position x(0),camera position y(0),camera position z(0)
rotate camera bloom_cam,camera angle x(AngDivCam),camera angle y(AngDivCam),0 `rotate for roll camera effect
return
_Bloom_ObjectUpdate:
`Update screen object
bloom_dis#=(bloom_sh#/2.0)/tan(bloom_fov/2.0)
position object bloom_obj+2,camera position x(0),camera position y(0),camera position z(0)
move object bloom_obj+2,(bloom_dis#/400.0)
move object up bloom_obj+2,0.01
move object left bloom_obj+2,0.01
scale object bloom_obj+2,101,101,0
return
_Bloom_SetUp:
bloom_sw#=screen width()
bloom_sh#=screen height()
bloom_dis#=(bloom_sh#/2.0)/tan(bloom_fov#/2.0)
`Screen grabbing Camera
make camera bloom_cam
set camera to image bloom_cam,bloom_img,256,256
set camera range bloom_cam,3,realrange#
set camera fov bloom_cam,bloom_fov#
`Tone
make object plain bloom_obj,bloom_sw#/Main_Camera_FOV,bloom_sh#/Main_Camera_FOV#
load effect "PUPPYSSS MOD/Bloom.fx",bloom_obj,0
texture object bloom_obj,0,bloom_img
set object effect bloom_obj,bloom_obj
position object bloom_obj,0,-10000,bloom_dis#/Main_Camera_FOV#
make camera bloom_cam+1
set camera to image bloom_cam+1,bloom_img+1,256,256
set camera range bloom_cam+1,1,Main_Camera_FOV#
set camera fov bloom_cam+1,bloom_fov#
position camera bloom_cam+1,0,-10000,0
`Blur X
make object plain bloom_obj+1,bloom_sw#/Main_Camera_FOV#,bloom_sh#/Main_Camera_FOV#
load effect "PUPPYSSS MOD/Bloom.fx",bloom_obj+1,0
texture object bloom_obj+1,bloom_img+1
set object effect bloom_obj+1,bloom_obj+1
position object bloom_obj+1,500,-10000,bloom_dis#/Main_Camera_FOV#
make camera bloom_cam+2
set camera to image bloom_cam+2,bloom_img+2,256,256
set camera range bloom_cam+2,1,Main_Camera_FOV#
set camera fov bloom_cam+2,bloom_fov#
position camera bloom_cam+2,500,-10000,0
`Screen object + Blur Y
make object plain bloom_obj+2,-(bloom_sw#)/(400.0),bloom_sh#/(400.0)
load effect "PUPPYSSS MOD/Bloom.fx",bloom_obj+2,0
texture object bloom_obj+2,0,bloom_img+2
set object effect bloom_obj+2,bloom_obj+2
ghost object on bloom_obj+2
`Set effect data
set effect technique bloom_obj,"Tone"
set effect technique bloom_obj+1,"blurpassX"
set effect technique bloom_obj+2,"blurpassY"
set effect constant float bloom_obj+1,"Brightness",bloom_brightness#
set effect constant float bloom_obj+1,"blurWidth",bloom_blurWidth#
set effect constant float bloom_obj+2,"Brightness",bloom_brightness#
set effect constant float bloom_obj+2,"blurWidth",bloom_blurWidth#
set camera aspect bloom_cam,bloom_sw#/bloom_sh#
set camera aspect bloom_cam+1,bloom_sw#/bloom_sh#
set camera aspect bloom_cam+2,bloom_sw#/bloom_sh#
return
And If you want look video,Here is link.
http://forum.thegamecreators.com/?m=forum_view&t=160635&b=1
Hey Plystire,If I can ask something to you,
-I don't know what camera image is only 256.
So can I that the image set same main camera setting?
If it can,Do I use command like texture screen & sync camera?
-I really do know that If i delete set object fov,Match problem soloved.
-I think you look the weapon in image that why don't apply bloom to weapon. So Why weapon bloom image put in front of weapon object?
I really want bloom apply all with weapon object.
DEFCON CRISIS comming soon 2009~~!