<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Supertanker</id>
	<title>Unvanquished - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Supertanker"/>
	<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/wiki/Special:Contributions/Supertanker"/>
	<updated>2026-04-04T19:45:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Tutorials/Colour_grading&amp;diff=2827</id>
		<title>Tutorials/Colour grading</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Tutorials/Colour_grading&amp;diff=2827"/>
		<updated>2014-01-06T04:49:06Z</updated>

		<summary type="html">&lt;p&gt;Supertanker: Minor corrections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
Colour grading allows you to change the colour and brightness tints of an entire map.&lt;br /&gt;
&lt;br /&gt;
'''Disclaimer:''' This feature is controversial.  Some players turn it off to improve the visual clarity of the game.&lt;br /&gt;
&lt;br /&gt;
= Requirements =&lt;br /&gt;
 [[File:Neutral.png|frame]]&lt;br /&gt;
&lt;br /&gt;
* A screenshot of your map, preferably of the area you want to work with&lt;br /&gt;
* The neutral colour grade&lt;br /&gt;
** found in main/cgrading/ of your .pk3s &lt;br /&gt;
** Optionally right click and save the skinny image on the right of this page.&lt;br /&gt;
* An image editing program. This guide uses the GIMP, but you can use anything.&lt;br /&gt;
&lt;br /&gt;
= Guide =&lt;br /&gt;
Here is the screenshot used in this tutorial.  It's of the alien spawning view on Parpax, and it has a nice variety of colors to work with:&lt;br /&gt;
[[File:Colourgrade original.jpeg]]&lt;br /&gt;
&lt;br /&gt;
Load the screenshot in your image editor and adjust the image's colour curves.  &lt;br /&gt;
* GIMP: Colors menu -&amp;gt; Curves&lt;br /&gt;
* Other editors: may be under the name of &amp;quot;levels&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Modify the curves of your colour channels until your screenshot obtains the desired look.  Each &amp;quot;channel&amp;quot; affects a colour of the image.  In the GIMP &amp;quot;Value&amp;quot; is a channel holding brightness.&lt;br /&gt;
&lt;br /&gt;
In this example the picture has been made slightly brighter, redder, bluer and less green.  Viech (the author of [[Maps|Parpax]]) will probably cry to see such a garish colour scheme, so don't tell him this is here.&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade 2.png]]&lt;br /&gt;
&lt;br /&gt;
Now save your curves.  In the gimp, you click the ''plus'' button next to the presets drop-down menu.  &lt;br /&gt;
&lt;br /&gt;
Apply these same modifications to the neutral colour grade image:&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade 3.png]]&lt;br /&gt;
&lt;br /&gt;
Save the modified colour grade in your map's folder hierarchy.  Eg:&lt;br /&gt;
&lt;br /&gt;
 ultimate_frisbee.pk3dir/gfx/test_colour_grading.png&lt;br /&gt;
&lt;br /&gt;
* Make sure it is inside a ''gfx'' subfolder.&lt;br /&gt;
* You can save it in any format the engine understands.  Jpeg is '''not''' recommended.&lt;br /&gt;
&lt;br /&gt;
== Testing in-game ==&lt;br /&gt;
&lt;br /&gt;
Load your map in Unvanquished and use the ''testcgrade'' [[Console|console command]] to load your colour map.  Eg&lt;br /&gt;
&lt;br /&gt;
 /testcgrade gfx/test_colour_grading.png&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade 4.jpeg]]&lt;br /&gt;
[[File:Colourgrade 5.jpeg]]&lt;br /&gt;
&lt;br /&gt;
== Applying to your map ==&lt;br /&gt;
Place your colour grade in a subfolder with your map's name. Eg:&lt;br /&gt;
&lt;br /&gt;
 ultimate_frisbee.pk3dir/gfx/'''ultimate_frisbee'''/test_colour_grading.png&lt;br /&gt;
&lt;br /&gt;
In NetRadiant: add a key/value pair to the &amp;quot;worldspawn&amp;quot; entity by selecting any non-entity brush and pressing the '''N''' key.&lt;br /&gt;
* key: &amp;quot;colorGrade&amp;quot; &lt;br /&gt;
** note spelling (color, not colour)&lt;br /&gt;
** note capitalisation&lt;br /&gt;
* value: &amp;quot;gfx/ultimate_frisbee/test_colour_grading&amp;quot; &lt;br /&gt;
** WITHOUT the file extension&lt;br /&gt;
&lt;br /&gt;
For example, on chasm-b1, the key/value pair is: '''colorGrade : gfx/chasm/colorgrading'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Originally from http://unvanquished.net/forum/viewtopic.php?f=8&amp;amp;t=704&lt;/div&gt;</summary>
		<author><name>Supertanker</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Tutorials/Colour_grading&amp;diff=2789</id>
		<title>Tutorials/Colour grading</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Tutorials/Colour_grading&amp;diff=2789"/>
		<updated>2014-01-06T00:02:05Z</updated>

		<summary type="html">&lt;p&gt;Supertanker: Added information on how to make the game load the colour grade on map load&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Disclaimer:''' This feature is controversial.  Some players turn it off to improve the visual clarity of the game.&lt;br /&gt;
&lt;br /&gt;
Originally from http://unvanquished.net/forum/viewtopic.php?f=8&amp;amp;t=704&lt;br /&gt;
&lt;br /&gt;
= Get Started With Colour Grading =&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
* A screenshot of your map, preferably the area you want to work with&lt;br /&gt;
* The neutral colour grade, found in main/gfx of your source directory  &amp;lt;!-- Where the hell is this? --&amp;gt;&lt;br /&gt;
* An image editing program.  This guide uses the GIMP, but you can use anything.&lt;br /&gt;
&lt;br /&gt;
Here is the screenshot used in this tutorial.  It's of the alien spawning view on Parpax, and it has a nice variety of colors to work with:&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade original.jpeg]]&lt;br /&gt;
&lt;br /&gt;
Load the screenshot into GIMP. In the Colors menu, select Curves. You will get a window popping up with a histogram and a diagonal line running through it. Feel free to play around with the channel settings, because you can easily reset them. You have a choice of Value, Red, Green, and Blue. The value channel will brighten or darken the image, while the color channels will add or subtract that color, depending on whether you're going above or below the diagonal line.&lt;br /&gt;
&lt;br /&gt;
In the example below, I've made it slightly brighter, and I've added to the red and blue channels while taking away some green. It probably looks a bit garish, and I'm sure that Viech will kill me for butchering Parpax, but this is simply to demonstrate an example.&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade 2.png]]&lt;br /&gt;
&lt;br /&gt;
Once you've saved your settings, load up the neutral color grade. By default, it is neutral.webp in your main/gfx directory in the source folder. It doesn't necessarily have to be webp, as you can use any image format recognized by the engine. I use png, for instance. In any case, apply your settings to the color grade, as shown:&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade 3.png]]&lt;br /&gt;
&lt;br /&gt;
Now, save your edited color grade with a memorable name. In my case, I am an extremely boring individual and decided to call it test1.png. You can call it whatever you want. Place it in a location where Unvanquished will recognize it. In my case, what I did was create a grading.pk3dir in my data directory, and inside of it, I made a gfx folder that I put my color grades into. It doesn't matter what you name the pk3dir, but make sure that there is a gfx folder inside of it that you place the color grades into. Once it's there, load Unvanquished and type the following command, substituting my example for whatever you named your color grade:&lt;br /&gt;
&lt;br /&gt;
/testcgrade gfx/test1.png&lt;br /&gt;
&lt;br /&gt;
If all went well, you'll be seeing your color grade applied to the entire map. Congratulations! You are now testing a significant renderer feature. Make sure to give us ample feedback in the appropriate forum sections. We will also be adding more features to color grading shortly. For the meantime, here are screenshots of Parpax with the color grade I just used in this tutorial. Feel free to post your own experiments in this thread as well.&lt;br /&gt;
&lt;br /&gt;
[[File:Colourgrade 4.jpeg]]&lt;br /&gt;
[[File:Colourgrade 5.jpeg]]&lt;br /&gt;
&lt;br /&gt;
= Using Colour Grading in your map =&lt;br /&gt;
Once you are satisfied with your colour grade file, place it in the folder gfx/yourmapname. (You will probably have to create these folders first.) Then, in NetRadiant, add a key/value pair to the &amp;quot;worldspawn&amp;quot; entity by selecting any non-entity brush and pressing the N key. For the key, enter &amp;quot;colorGrade&amp;quot; (note spelling) and for the value, enter &amp;quot;gfx/yourmapname/cgradename&amp;quot;, where &amp;quot;cgradename&amp;quot; is the filename of your Colour Grade '''without''' any extension. Press enter to add it to the list of key/value pairs. Recompile and test your map.&lt;br /&gt;
&lt;br /&gt;
For example, on chasm-b1, the key/value pair is: '''colorGrade : gfx/chasm/colorgrading'''&lt;/div&gt;</summary>
		<author><name>Supertanker</name></author>
	</entry>
</feed>