TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PICO-8 Lighting: Part 2 – Stitching Lines Together

82 pointsby springogeekover 8 years ago

5 comments

zubspaceover 8 years ago
Light and shadows in 2D fascinates me. Even more than 3D. There are countless ways to optimizes stuff like this and, compared to 3D, you&#x27;re actually able to get really atmospheric results even on low end devices. Stuff like soft shadows with shadow penumbra and antumbra are actually possible to implement with high quality without insane performance hits.<p>Thanks to the author for sharing the implementation step by step.<p>Here are some other fascinating examples of 2D light and shadow:<p><a href="http:&#x2F;&#x2F;ncase.me&#x2F;sight-and-light&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ncase.me&#x2F;sight-and-light&#x2F;</a><p><a href="http:&#x2F;&#x2F;nottutorials.blogspot.ch&#x2F;2009&#x2F;09&#x2F;dynamic-2d-soft-shadows.html" rel="nofollow">http:&#x2F;&#x2F;nottutorials.blogspot.ch&#x2F;2009&#x2F;09&#x2F;dynamic-2d-soft-shad...</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=0FZIKX1Y_8I" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=0FZIKX1Y_8I</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=sZxrQHIaBbE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=sZxrQHIaBbE</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=AslPHY2Bomc" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=AslPHY2Bomc</a>
gluelogicover 8 years ago
Your previous article made me remember about and subsequently purchase PICO-8. I&#x27;ve been hooked since then.<p>If anyone out there is considering buying PICO-8, go do it! It&#x27;s so much fun.
junkeover 8 years ago
Really good read. Now, I am going to refresh the profile page until part 3 appears.
评论 #13668453 未加载
评论 #13670725 未加载
Scaevolusover 8 years ago
PICO-8 has 1MB of Lua RAM available, is this more efficient than precomputing the light levels&#x2F;breakpoints and using it for each frame?
评论 #13672405 未加载
planteenover 8 years ago
Very cool demo. I remember RPGs on the SNES looking line this. I&#x27;m guessing that the colors on this are gamma corrected. Are you doing a linear conversion then going back to a gamma corrected palette when building the fills table?