Duke4.net Forums: Custom Palette/Shadetables - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Custom Palette/Shadetables  "Having problems with custom shadetables"

User is online   quakis 

#1

I've been having nothing but trouble setting up a custom shadetable for a new lookup palette. I've followed this guidance on how the raw files should be saved: https://wiki.eduke32.../Raw_image_file

I can make a new basepalette saved as a 24bpp raw + with .def file definitions all setup and the palette displays fine

I can make a new lookup pal saved as a 8bpp indexed raw + with defs all setup (w/ "noshades") and the palette displays without issues when changing palette id to the new lookup

However I cannot get a lookup pal with custom shadetable (32 shades) without causing the rainbow effect, as it randomly cycling between colours:
Posted Image

Even tried saving the default shadetable from here as a .raw with similar problems: https://wiki.eduke32...uke3d_shade.png
It's saved as a 8bpp indexed raw.
Raw file is 8192 bytes. 256 x 32 = 8192, so that's correct.
Definition:
  • palookup 240 { raw { file "pal/testpal.raw" } }

It's a single shadetable, no offsets
Tried saving the .raw via irfanview and gimp

I'm certain it's a simple issue but I'm not understanding what I've done wrong based on the information available. Any insights?
1

#2

Just tried to redefine pal 240 with a custom shade table and it works fine. Are you sure your files are saved in the actual .raw format? Does the problem occur with all renderers? Wouldn't you mind to attach any files you used to reproduce the issue?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options