💡☀️Working on the pixel-art cell shading for #BoneToPix & The Bleak Divine
A short thread on how I got lighting data to work on *art* pixels instead of *screen* pixels 🖥️
👇🧵 #MadeWithUnity#GameDev#PixelArt
Fragment shaders work on screen pixels, not texture pixels. In pixel-art styles 1 pixel in your art is going to be rendered over a bunch of screen pixels
That means you'll have different data for different parts of a texture pixel-> so you won't get the neat per-art-pixel look