Introducing Material Presets! Change Terrain Material Colors in-game with ease!

Hello! I have made a module that allows you to create Terrain Material Color presets to change on the fly within your game!

An example of how you would use this is if you have multiple maps in your game and would like to make some terrain materials different colors for different maps!


  • The ability to make and set presets for all terrain materials
  • The ability to make and set presets for all water properties


Material Presets

Water Presets

(sorry for poor quality)

How do use

After requiring the module, you can use the SetPreset() and SetWater() functions to set the presets

local MaterialPresets = require(game:GetService("ReplicatedStorage"):WaitForChild("MaterialPresets"))

MaterialPresets.SetPreset("Default") -- Change "Default" To Custom Preset Name

MaterialPresets.SetWater("Default") -- Same goes here

Adding Presets

Inside the module you should see two modules Named MaterialData and WaterData.
Inside of those are where you add your presets

To add a new preset just copy the Default preset, change the name, and change the color values for each material color you wish to change. Do the same thing to add water presets.

You can get the module here:

If you have any questions or suggestions please feel free to ask!

Have a nice day! :grin: