Option to disable inverted colormap
Moderator: GZDoom Developers
-
- Lead GZDoom+Raze Developer
- Posts: 49141
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Option to disable inverted colormap
Only if you call it once with 'false' before parsing.
-
- Posts: 13728
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Option to disable inverted colormap
Where is the parsing done? Isn't it already being called here?
-
- Posts: 13728
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Option to disable inverted colormap
Are there any objections with me going ahead with the merge on this one?
-
- Lead GZDoom+Raze Developer
- Posts: 49141
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 13728
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Option to disable inverted colormap
Alright, squash-merged as a3741abbf then.
-
- Posts: 5022
- Joined: Sun Nov 14, 2010 12:59 am
Re: Option to disable inverted colormap
Thanks for this.
-
- Posts: 13728
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Option to disable inverted colormap
Sure. I've been wanting this feature myself since a very long time.
Re: Option to disable inverted colormap
Ok I know that I can seen as an idiot but how to enable this feauture now? In config file i cannot find this CVar. Please help.
-
- Posts: 13728
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Option to disable inverted colormap
Hello! I'm not sure if this is the right topic to bring this up, but it seems related so I figured I might as well. I've noticed that when the custom option is disabled, GZDoom always defaults to the classic inverted color map for the invulnerability filter regardless of the PWAD being played. I've seen playthroughs of Back to Saturn X and Eviternity in other source ports and know that they were designed with custom filters, the former using an inverted color map with a light blue tint and the latter providing a noninverted green filter. Is this something that the WAD designers would have to do specially to work with GZDoom, or is it an enhancement that would need to be made to GZDoom to recognize those PWAD-defined settings?
-
- Lead GZDoom+Raze Developer
- Posts: 49141
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Option to disable inverted colormap
These mods use a palette based map, but those do not work with hardware rendering and deriving a blend color from them is not trivial.
-
- Posts: 13728
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Option to disable inverted colormap
I think the best option is to put it in MAPINFO.
-
-
- Posts: 17924
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Option to disable inverted colormap
I think most real cases can be covered by looking at the whiteindex and blackindex colors.Graf Zahl wrote:These mods use a palette based map, but those do not work with hardware rendering and deriving a blend color from them is not trivial.
- If the blackindex color is lighter than the whiteindex color, it's an inverted ramp.
- The lightest color (blackindex if inverted, whiteindex otherwise) gives you the "pure" blend color since it's applied to a white base.