Can anyone with Dark Shader get fullscreen effects to work in dbpro? Using the code in the help file to load a fullscreen effect and the edge detect effect, all I get is garbage displayed to the screen (see attached image).
I get similar output for the DOF effect too, they all run fine in Dark Shader just not in dbpro.
Code I'm using to load shader:
sync on
sync rate 60
make camera 1
color backdrop 1,0
load camera effect "Edge.fx",1,0
set camera effect 1,1,1
make object sphere 1,10
make object plain 2,2,2,1
load effect "quad.fx",1,0
set object effect 2,1
null = make vector4(1)
set vector4 1,640,480,0,0
set effect constant vector 1,"ViewSize",1
null = delete vector4(1)
texture object 2,0,1
do
position camera 1,camera position x(0),camera position y(0),camera position z(0)
rotate camera 1,camera angle x(0),camera angle y(0),camera angle z(0)
hide object 2
show object 1
sync camera 1
show object 2
hide object 1
sync mask %01
sync
loop