How To Change The Colour Of Shaders And Water

Krazy Pigeon
By Krazy Pigeon in Tutorials & Guides,
Sup. So I was going to make this tutorial with the release of my "Blizzard" mod, but that's taken too long to make as it is and with my Jtag broken I thought I might as well post this.
Before we begin i'll just let you know that I am from Australia. We spell "color" as "colour" here.
This is not actually changing the colour of the shader, but putting a tint on it, or a "mask".
  How to Change the Colour of Shaders and Water
Requirements:
Ascension
JTAG, RGH or XDK.

Open up a map and select a shader that you want to mod. (rmsh, rmhg, rmfl, etc, they should all work.)

Scroll down to the "Shader Extensions" struct and find a chunk that doesn't have equal RGB values (isn't white), and looks like it is a colour. (Chunk 20 and above controls the main tint of the shader)


Change it to whatever you want and click "Save Changes" or "Poke Changes".


Now because you are poking a shader you will have to reload the map or save it. But thanks to Lord Zedd you can force load checkpoints! Just press F10 and respawn the item with the shader you modded and enjoy!



If the colour is not changing, you will need to add rain to your map. If you don't want the rain, null everything in the rain definition tag. The key is to make sure the "Effect Generation Rate" is set to at least 1 or more.

But wait, there's more! Depending on what chunk you choose, you can control certain aspects of the shader. Including reflections which can occur on different angles and can also depend on what light is being shone on it.

Here's a good example:


You can get really creative with this and do some super cool stuff.
Here are some more examples:


On the topic of colours I might as well tell you how to change the colour of water.

This is pretty much the same as changing shaders like before, considering rmw is a shader.
Open the desired water shader tag (rmw) and scroll down to the "Data" struct.
Again like with changing the colours of shaders, find a chunk that doesn't have equal RGB values (isn't white), and looks like it is a colour. (I've found it's usually 16 with rmw tags)


Change the colours to your liking and click "Poke Changes" or "Save Changes".


Results:


Have fun.
-Krazy Pigeon
  • 18 replies