mreinstein / cobalt

WebGpu 2D renderer
MIT License
8 stars 1 forks source link

render graph for highly configurable render pipelines #3

Closed mreinstein closed 1 year ago

mreinstein commented 1 year ago

currently the render pipeline for my work-in-progress game is baked into Cobalt.draw :

Cobalt.draw = function (....) {
    all tile, sprite layers

    bloom

    misc. shader effects (old film grain, etc.)

    overlay passes (sprite passes part of ui)

    submit webgpu command encoder
}

For this library to be useful, these rendering steps should be configurable at run time.

mreinstein commented 1 year ago

resolved via #6