Sign in to follow this  
  • entries
    177
  • comments
    531
  • views
    163419

The Color Map

Sign in to follow this  
Scet

227 views

I've implemented the Doom COLORMAP which is the CLUT(color lookup table) for Dooms palette to do lighting. Before I had a 256x1 texture as the palette with just the normal value and was changing the vertices colors in the shader. Now I have a 256x64 texture with each row as a different lookup table.



The invulnerability powerup is colormap 32 so to use it all I have to do is set the Tv coordinate to 0.5 for all sectors.

Sign in to follow this  


2 Comments


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now