I have a simple shader in my Three.js application that colors the screen red. However, I want to color all pixels to the right of a given world position to to a different co
Answer derived from WestLangley's Fiddle here: http://jsfiddle.net/ST4aM/2/.
Vertex Shader
Fragment Shader