Expand description
Constructors§
Source§new PipelineBuildingSSAO(renderer: Renderer): PipelineBuildingSSAO
new PipelineBuildingSSAO(renderer: Renderer): PipelineBuildingSSAO
Constructor for PipelineBuildingSSAO
Properties§
Shared color buffer for the first pass.
Source§protected _ depth Buffer Pass 01: GPURenderPassDepthStencilAttachment
protected _ depth Buffer Pass 01: GPURenderPassDepthStencilAttachment
Depth buffer for the first pass.
Shared normal buffer for the first pass.
Methods§
Source§build(mesh: Triangles3DLayer): void
build(mesh: Triangles3DLayer): void
Builds the pipeline with the provided mesh data.
Creates the shared textures for the pipeline.
Source§createVertexBuffers(mesh: Triangles3DLayer): void
createVertexBuffers(mesh: Triangles3DLayer): void
Creates the vertex buffers for the mesh data.
Source§updateCameraUniforms(camera: Camera): void
updateCameraUniforms(camera: Camera): void
Updates the camera uniform buffers with the current camera state.
Source§updateColorUniforms(layer: Layer): void
updateColorUniforms(layer: Layer): void
Updates the color uniform buffers with the current layer state.
Source§updateVertexBuffers(mesh: Triangles3DLayer): void
updateVertexBuffers(mesh: Triangles3DLayer): void
Updates the vertex buffers with the provided mesh data.
PipelineBuildingSSAO is a rendering pipeline for drawing 3D buildings with SSAO (Screen Space Ambient Occlusion). It uses WebGPU to render the buildings in two passes: one for normal and color maps, and another for SSAO computation.