Skip to main content

Questions tagged [palette]

Filter by
Sorted by
Tagged with
6 votes
1 answer
1k views

I'm creating some images for an existing game that allows for custom content. I have a large collection of PNG images with indexed colors (all using the same palette). I would like to be able to go ...
Andrew's user avatar
  • 161
3 votes
1 answer
2k views

I want to recreate an accurate version of a 15-bit RGB color palette (PC Highcolor, SNES, Playstation 1), storing each color from the palette as a standard 6 digit hex code. With each color component ...
baseten's user avatar
  • 171
0 votes
1 answer
118 views

I am trying to do a palette swap in Allegro 5. I have not found any way to do this from my research. So what I've thought of doing is to do it myself by setting individual pixels. I also haven't found ...
Will's user avatar
  • 1
0 votes
1 answer
149 views

I've found the keywords "subpalette" and "PPU palette", but they seem to be NES-specific. Though the idea of using a small palettes table and use 2 bits per pixel in an image (+ ...
Charlie's user avatar
  • 187
1 vote
0 answers
1k views

Because of some dumb mistake I did fifth time, I had to repaint my level in my 2D game. The problem is that the tiles I use from the Tile Palette turn into pink ...
padawan's user avatar
  • 253
0 votes
1 answer
933 views

I'm trying to change the size of sprites in unity to fit the palette. Except there are no options to change multiple sprite sizes at once. But when I watched a youtube video on tilemaps and palettes, ...
River's user avatar
  • 3
1 vote
2 answers
662 views

I want to create a palette based on a number of PNGs in Unity 2D. I am struggling to understand the slicing logic. Let's say I have a sprite 588x547, and I set PPU to 128. So obviously the sprite ...
Maxim Zabolotskikh's user avatar
4 votes
2 answers
4k views

I´m trying to build a tool inside Unity that allows our artists to create different color palettes for our characters. The big problem is that since every single sprite is hand-drawn and hand-...
Francisco M.'s user avatar
1 vote
2 answers
4k views

How do I flip a texture in modern OpenGL (3.1+)? This is the unflipped render, keep in mind it is drawn with 8x8 tiles from a texture atlas, so I edited green squares below him into the image to ...
Accumulator's user avatar
5 votes
1 answer
3k views

(This is assuming all graphics are stored in 4 bpp) I understand that the SNES has a 256 color palette split into 16 palettes (each with 16 colors), and 8 of these represent palettes usable by ...
user3124047's user avatar
4 votes
1 answer
333 views

I'm making a 2D RTS Map Editor and here came the moment to make a Palette which is just a popup frame showing tiles to be clicked on and then applied on the map. I'm wondering which Java Elements to ...
Jean Henry's user avatar
4 votes
2 answers
4k views

I'm writing a bunch of GLSL effects for fun, but I can't wrap my head around this. Basically, I want to reduce a texture's palette into a pre-defined set of colors. For example, a post-processing ...
manabreak's user avatar
  • 1,078
2 votes
1 answer
1k views

i'm trying to swapping the colors using a texture as index and a second one as palette. Here is the full listing of the code: ...
BRICK's user avatar
  • 31
1 vote
2 answers
217 views

On one of the slides of their presentation "Batch, Batch, Batch!" guys from NVidia suggest encoding animation matrices for pallet skinning into two float4s as: • axis/angle • translate/...
cubrman's user avatar
  • 1,561
2 votes
1 answer
868 views

I'm developing a game using the Libgdx library. I'm trying to implement a very simple palette swap functionality (basically just complete recolouring of some areas, I don't even need to have various ...
Haedrian's user avatar
  • 207
3 votes
2 answers
3k views

I'm making a paint program using applets in Java, and I want to create some sort of color palette where the colors blend into each other, similar to this: However, I'm having trouble understanding the ...
kikiotsuka's user avatar
1 vote
2 answers
2k views

I have implemented a simple pixel shader which can replace a particular colour in a sprite with another colour. It looks something like this: ...
derrace's user avatar
  • 11
39 votes
6 answers
30k views

I'm working on a Megaman-like game where I need to change the color of certain pixels at runtime. For reference: in Megaman when you change your selected weapon then main character's palette changes ...
Zack The Human's user avatar
0 votes
4 answers
8k views

If I want to make a 3D game, and I want all my textures to be 8 bit, to save RAM, that is 256 indexed colors, including "transparent", how do I choose the colors? Is there any recommended pre-defined ...
Sebastien Diot's user avatar
11 votes
1 answer
1k views

I'm looking to get the palette of an 8-bit surface in SDL.NET if possible, or (more than likely) using Tao.SDL. This is because I want to do palette swapping with the palette directly, instead of ...
user avatar
8 votes
3 answers
2k views

I've been trying to work on a game with the look of an 8-bit game using XNA, specifically using the NES as a guide. The NES has a very specific palette and each sprite can use up to 4 colors from ...
Bob's user avatar
  • 750