studio static method
Builds the package's built-in procedural "studio" environment.
A neutral image-based-lighting setup generated on the fly (no bundled HDR): a cool soft "ceiling" fading through a neutral horizon to a dim warm "floor bounce", with a broad top fill and a couple of soft key/fill light lobes that read as defined specular highlights on glossy surfaces. This is the zero-config default a Scene uses when no environment is configured.
Implementation
static EnvironmentMap studio() {
final pixels = _generateStudioEquirectPixels(
_studioEnvWidth,
_studioEnvHeight,
);
final radianceTexture = gpu.gpuContext.createTexture(
gpu.StorageMode.hostVisible,
_studioEnvWidth,
_studioEnvHeight,
)..overwrite(ByteData.sublistView(pixels));
return EnvironmentMap._(
prefilterEquirectRadiance(radianceTexture),
_projectEquirectToSphericalHarmonics(
pixels,
_studioEnvWidth,
_studioEnvHeight,
),
);
}