I was using fragment shader. Just a very simple one at most.
uniform sampler2D map;
varying vec2 vUv;
void main() {
gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
}