The "restart" ccmd allows you to change which game you are changing - or more importantly, what the contents of your PLAYPAL lump contains. The Palette Tonemap shader does not yet account for this, however. For example, you may start the game with Heretic, but then restart with Doom - as shown in the screenshot.
[HEAD] Palette Tonemap does not recreate on game change
Moderator: Graf Zahl
- Rachael
- Developer
- Posts: 3646
- Joined: Sat May 13, 2006 10:30
-
- Developer
- Posts: 798
- Joined: Sat Jul 23, 2016 7:53
Re: [HEAD] Palette Tonemap does not recreate on game change
Damn it, thought it was safe to just generate the LUT texture first time needed and then keep it. Are there other ways the PLAYPAL lump might change besides with a restart ccmd?
- Rachael
- Developer
- Posts: 3646
- Joined: Sat May 13, 2006 10:30
Re: [HEAD] Palette Tonemap does not recreate on game change
No - the only way to change it is when GZDoom is willing to open new files, and that's at the beginning of the game or through a "restart" - afaik.
-
- Developer
- Posts: 798
- Joined: Sat Jul 23, 2016 7:53
Re: [HEAD] Palette Tonemap does not recreate on game change
Pull request fixing this: https://github.com/coelckers/gzdoom/pull/88