It's compiling and running now, but something strange is happening, whenever I move my camera view around, say a object in the scene, the screen flashs with the shader effect, like the shader camera is not attached to the player camera and only works if your looking in a certain direction.
I really have no idea what i'm doing really, so any help would be great^^
I've posted my entire project code below
sync on
sync rate 60
make camera 1
color backdrop 1,0
Rem Any fullscreen shader can be loaded here, no need to change any other code.
load camera effect "Cartoon Outline.dbs",1,0 REM file, effect id,
set camera effect 1,1,1 rem camera,effect, render to image
rem make some scenery
make object sphere 1,10
rem make quad for final render
make object plain 2,2,2,1
load effect "quad.fx",1,0
set object effect 2,1
rem set a shader parameter
null = make vector4(1)
set vector4 1,640,480,0,0
set effect constant vector 1, "viewsize",1
null = delete vector4(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)
rem --RENDER--
Rem Show scene, send TCP off to take a picture and modify it, image 1 drawn
hide object 2
show object 1
sync camera 1
rem --SYNC--
Rem Hide scene, take image 1 (applied to object 2) and draw it to the screen
show object 2
show object 1
sync mask %01
sync
loop