Originally Posted By: BoH_Havoc
Looks like you didn't pass the original scene to the dof shader, so the sharp parts are just shaded black as there is no texture.

from s_dof.fx
Code:
texture TargetMap; //Blurred Scene + Depth
texture mtlSkin1; // Scene
texture mtlSkin2; // Depthmap


i did have these, all i did was take the parts that arent DOF related from the .c file, and pasted all that into my own project.
so i pasted the .fx files 1 on 1, as they were there already.
i didnt change any of the .fx files, so it's probably something in the .c files, but i have no idea what...

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/