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 — 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 — WebGL silently refuses a float for anintorbooluniform, which then stays 0.