• Register

Blaze is a retro/minimalistic styled sci-fi first person flight/shooter action game. The game can be played almost single handedly with just mouse. It's about shooting a lot of alien things (in semi-randomized missions?). The alien things are trying capture all your base, and have already captured at least half of it. You have to defend the base and capture the alien controlled areas back. Or something like that...

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Add media Report RSS 256 palette shader (view original)
256 palette shader
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
OsirisGodoftheDead
OsirisGodoftheDead - - 685 comments

Looks really good. Nice job with the shaders.

Reply Good karma Bad karma+3 votes
TwinBeast Author
TwinBeast - - 565 comments

Thanks. Though, I quite liked the high contrast look in the 16 color palette.

This 256 shader also does a lot of those "zebra" artifacts, like seen on the shoulder pad thing on the left. More artifacts when texture filter is on. And looks kind of annoying when it's in motion.

Maybe I'll use 32 colors to keep the high contrast look, but have a bit more shades and colors than with 16 colors.

Reply Good karma+1 vote
Vuud
Vuud - - 881 comments

256 colors? Can my 286 handle it?

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

Finally I was able to make a GLSL shader that has a 256 color palette and runs fast. It's made sort of like my earlier Posterize shaders, but every color channel and color range gets their own "shade steps/levels", and I used some "RGB to HSL" code to get all the colors into the color ranges.

It's not the same palette I used in the Doom engine version.. I don't know yet what shades each color actually have. I only know the darkest and the maximum shades, the rest are just linearly between them, and in the VGA limits of 64 shades for each channel.