feat: foilage

This commit is contained in:
Dan Finch 2026-08-04 23:03:55 +02:00
parent 67cd54fe33
commit 6fb46573da
9 changed files with 270 additions and 19 deletions

View file

@ -128,6 +128,7 @@ async function main(): Promise<void> {
Rasterizer.draw(fb, c.bark, textures.bark, viewProj, config, true)
Rasterizer.draw(fb, c.leaf, textures.leaf, viewProj, config, true)
Rasterizer.draw(fb, c.needle, textures.needle, viewProj, config, true)
Rasterizer.draw(fb, c.flowers, textures.flower, viewProj, config)
}
Rasterizer.draw(fb, Sprite.billboard(npc, camera), npc.texture, viewProj, config)
Framebuffer.quantize(fb, config)