Private
constructorProtected
bindProtected
doesProtected
lutProtected
makeProtected
makeReplaces potentially screen-size dependent external resources (back buffer, depth buffer, and render target) in the internal bind groups.
Configuration of external resources.
Optional
atmosphere: AtmosphereOptional
uniforms: UniformsOptional
uniforms: UniformsOptional
atmosphere: AtmosphereOptional
useFullResolutionRayMarch: booleanOptional
forceConstantLutRendering: booleanOptional
forceSkyViewLutRendering: booleanOptional
uniforms: UniformsOptional
atmosphere: AtmosphereOptional
forceConstantLutRendering: booleanStatic
createCreates a SkyAtmosphereComputeRenderer.
The GPUDevice
used to create internal resources (textures, pipelines, etc.).
A SkyAtmosphereRendererConfig used to configure internal resources and behavior.
Optional
existingLutRenderer: SkyAtmosphereLutRendererIf this is defined, no new internal SkyAtmosphereLutRenderer will be created. Instead, the existing one is used.
Optional
existingPipelines: SkyAtmospherePipelinesIf this is defined, no new pipelines for rendering the internal lookup tables will be created. Instead, the existing pipelines given will be reused. The existing pipelines must be compatible with the SkyAtmosphereRendererConfig. Especially, SkyAtmosphereRendererConfig.lookUpTables and SkyAtmosphereRendererConfig.shadow should be the same.
Optional
existingResources: SkyAtmosphereResourcesIf this is defined, no new resources (buffers, textures, samplers) will be created. Instead, the existing resources given will be used.
Static
createAsynchronously creates a SkyAtmosphereComputeRenderer.
All pipelines used by this renderer are created asynchronously.
The GPUDevice
used to create internal resources (textures, pipelines, etc.).
A SkyAtmosphereRendererConfig used to configure internal resources and behavior.
Optional
existingLutRenderer: SkyAtmosphereLutRendererIf this is defined, no new internal SkyAtmosphereLutRenderer will be created. Instead, the existing one is used.
Optional
existingPipelines: SkyAtmospherePipelinesIf this is defined, no new pipelines for rendering the internal lookup tables will be created. Instead, the existing pipelines given will be reused. The existing pipelines must be compatible with the SkyAtmosphereRendererConfig. Especially, SkyAtmosphereRendererConfig.lookUpTables and SkyAtmosphereRendererConfig.shadow should be the same.
Optional
existingResources: SkyAtmosphereResourcesIf this is defined, no new resources (buffers, textures, samplers) will be created. Instead, the existing resources given will be used.
Static
Private
makeStatic
Protected
makeStatic
Private
make
A sky / atmosphere renderer that renders the sky based on lookup tables. It uses
GPUComputePipeline
s to render the sky / atmosphere.