Highpalookup: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Drek (talk | contribs)
Drek (talk | contribs)
Line 29: Line 29:


===TUTORIAL===
===TUTORIAL===
====The making of: Highpal lookup tables====
'''The making of: Highpal lookup tables'''
*[http://wiki.eduke32.com/w/images/0/06/Highpal_tutorial.7z highpal_tutorial.7z] PDF file
*[http://wiki.eduke32.com/w/images/0/06/Highpal_tutorial.7z highpal_tutorial.7z] PDF file

Revision as of 07:09, 8 January 2013

A high-palette look-up table (abbreviated "highpalookup" or just "highpal") is used by the Polymer renderer to replicate the software renderer's 8-bit palette swaps on 32-bit assets such as models and high resolution textures.

SAMPLE CODE

// SLIMEPAL (and night vision)

highpalookup { basepal 2 pal 0 file "highpal/pal_00n.png" }

This line of code is from the HRP. It declares the basic night vision palette. More examples can be seen here.

THE MAKING OF

This is an advanced modding project. As such, it requires understanding of some basic concepts.

REQUIRED READING

REQUIRED TOOLS

TUTORIAL

The making of: Highpal lookup tables