Small World Engine API Reference - v0.76.20
    Preparing search index...

    Variable CLUSTER_TEX_WIDTHConst

    CLUSTER_TEX_WIDTH: 1024

    Fixed row width (in texels) for WebGL2's cluster grid/index data textures -- there is no 1D texture target in WebGL2, so the flat cluster/index arrays are laid out as ivec2(i % CLUSTER_TEX_WIDTH, i / CLUSTER_TEX_WIDTH) on a 2D texture instead. Must match the CLUSTER_TEX_WIDTH constant in light_calc.frag.glsl/light_calc_pbr.frag.glsl exactly.