Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Koko Ricky

Palette question

Recommended Posts

I've come across two threads now which have made it clear to me that Doom has 14 palettes, not just one that is altered for things like radiation suits, invulnerability and player damage. Why is it that the game's code couldn't simply automatically alter the palette when needed? Why did the developers need to create different palettes for different events?

Share this post


Link to post

I would imagine that shifting between several palettes that can contain any modifications needed would be less work than writing code to generate the variations dynamically at runtime. It also avoided the need to do any calculations on RGB color values during gameplay, allowing all coloring to be done more efficiently using precalculated palette indices.

Share this post


Link to post

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
×