Start assets

This commit is contained in:
Miloslav Ciz 2023-09-12 16:42:58 +02:00
parent 7bb028fad4
commit 13a4c0d807
4 changed files with 50 additions and 4 deletions

View file

@ -1,3 +1,9 @@
- background sky rendering efficiently:
- first draw the solid color top and bottom
- then render the 3D scene
- then iterate over the strip that should have the sky texture and only draw
to pixels where depth buffer was not overwritten (this step can be left out
in case we have depth buffer or sky turned off)
TOTAL SIZE OF TEXTURES:
- 64 x 64 x 2 = 8192, 6 x floor + 2 x wall + 1 x car = 8 * 8192 = 73728
- (128 x 128 x 1) x 3 background = 49152