Log In  

Cart #48972 | 2018-02-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Hello again!

Here's something I made this weekend - I recreated a pixel art image which was made by @Kldpxl:


I love his pixel art because it often has a really striking photographic look about it, so I tried to carry that effect over as much as I could.

Some features:

  • It's 100% code: all sprites are generated at load time
  • Textured ground plane with perspective distortion
  • Value noise with multiple octaves (used for building all textures)
  • Raymarcher for generating sprites with lighting:
    • Four types of plants
    • Background mountains
    • Horizontally-tiling clouds
  • 3D-positioned plant billboards
  • 3D extrusion for low grass and road lines

I think it even runs at 60 fps!

P#48976 2018-02-04 16:53 ( Edited 2018-02-05 20:14)

Super mega impressive!
(well, limited to the "demo" category as it already uses almost all cpu!!)

Tech question: do you mipmap the road? On a similar "3d road" project, I found that it helped quite of lot given the lack of pixel density of pico (to say the least!)

To be super picky, clouds are a bit "off" (IMHO).
Would multiple shaded spheres be a better choice?

P#48977 2018-02-04 17:03 ( Edited 2018-02-04 22:08)

That's so awesome!

P#49014 2018-02-05 13:57 ( Edited 2018-02-05 18:57)

@freds72 - Thanks! It's not doing any mipmapping, but doing so would definitely help reduce the weird noise in the distance (but I've run out of performance and texture space). I think the clouds are a little wonky, too, but the current state is the best I was able to render this time around!

@egordorichev - Thanks to you, too!

P#49015 2018-02-05 15:14 ( Edited 2018-02-05 20:14)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-04-18 21:21 | 0.064s | 2097k | Q:31