There no script for change colour for terrain , if you want change colour terrain so :
- Go to Roblox Studio
- Click Workspace.
- Click Terrain
- Click MaterialColor ( then click “Click to expand” ) :
So can choose color you want for terrain !
There no script for change colour for terrain , if you want change colour terrain so :
you can change terrain but only the water by script.
Water can make with script or can change water on terrain !
is what i said but like if you want make a local script and make part that when player touch the part so is change the water so you can.
also i am think that there is a way to script terrain on roblox like grass beacuse i found game that doing that: 💰 x20 MONEY 💰 🍃 LAWN MOWING SIMULATOR ⚡ - Roblox
Well is mean water can’t recieve shadow of picture on water for example the picture here :
So where i can change water it ?
here
and also make sure that the lighting is shadow-map (for give the shadow effect)
Well… i just got shadow !
and thats what you want right?
Yes that i want they about this !
change the graphics and you will get the image
There is a way to change and read terrain colours but it needs to be done with a function, you cannot directly write to it. SetMaterialColor will get the job done for you. Likewise, of course, it has a Get function as well so that you can tell what the current colour of a material is.
To add onto what @colbert2677 has said, it is definitely possible to read and write the colors of terrain.
To read you would use the function: Terrain:GetMaterialColor(material)
To write you would use the function: Terrain:SetMaterialColor(material, Color3)
Example code:
local Terrain = game:GetService("Workspace").Terrain
--Gets the material color of the terrain material in question
local GetColor = Terrain:GetMaterialColor(Enum.Material.Grass)
print(GetColor) --Outputs the color of the terrain material
--Sets the material color of the terrain material in question
local SetColor = Terrain:SetMaterialColor(Enum.Material.Grass, Color3.fromRGB(0,180,255))
Hope this helped!
(I withdrew my previous post to reply to OP )