You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loadPalette("mulfok32","./palettes/mulfok32.gpl");constmulfok=getPalette("mulfok32");mulfok[0];// the first element in the palette// how mulfok would likemulfok=[newColor(...),newColor(...),]
This could be cool for users loading a palette and the colors objects being created once.
We use .gpl files like Aseprite
The text was updated successfully, but these errors were encountered:
This might go nice with a palletize shader that gets a uniform vec4 u_palette[PALLETE_SIZE]; and then makes it the closest color, for stuff that has like continuous colors gradients. it would get banding but if the goal is the palette then well, priorities
Suggedted by @lajbel, please elaborate 😔
Wrote by @lajbel:
This could be cool for users loading a palette and the colors objects being created once.
We use
.gpl
files like AsepriteThe text was updated successfully, but these errors were encountered: