# three-gpu-pathtracer/webgpu: Constants

## Random Strategies

### RANDOM_PCG: Object

Uncorrelated pseudo random samples. Converges slowest but never shows structured artifacts.

### RANDOM_SOBOL: Object

Sobol low discrepancy samples, scrambled per pixel. Converges faster than `RANDOM_PCG`.

### RANDOM_BLUE_DITHER: Object

The same Sobol sequence for every pixel, offset by a blue noise dither so early frames read as
smooth grain rather than clumped noise. The default.

## Transmissive Background Modes

### TRANSMISSIVE_BACKGROUND_ENVIRONMENT: number

Sample the environment map, so glass shows what is behind it.

### TRANSMISSIVE_BACKGROUND_OVERLAY: number

Set the opacity from the transmitted light intensity, tinted by the environment lighting.

### TRANSMISSIVE_BACKGROUND_TRANSPARENT: number

Attenuate the background by the transmitted light, so glass renders against transparency.
