ofxDOF
ofxDOF copied to clipboard
inverting colors in the final image
I was trying to alter the shader code to get a black on white color instead of the white on black.
I do appreciate your making this addon available, it is streamlined compared to some of the others (not to mention it works properly where others ... don't)
The code in the dof fragment shader (not the dof_GL3) which I altered was: gl_FragColor= vec4( 1.0-sum.rgl_Color.r, 1.0-sum.ggl_Color.g, 1.0-sum.b*gl_Color.b, gl_Color.a );
there was no change in the output of the expected shader (basically I wanted inverted colors so black lines on a white background.)