The uniforms a MapEffectsPass reads, by the name its shader declares. A number sets a float, a pair a vec2. Only those two types can be set, because WebGL silently refuses a float for an int or bool uniform, which then stays 0.
float
vec2
int
bool
The uniforms a MapEffectsPass reads, by the name its shader declares. A number sets a
float, a pair avec2. Only those two types can be set, because WebGL silently refuses a float for anintorbooluniform, which then stays 0.