so for example you can turn off globalshadows with a setting button how would you do this for replacing all grass with a different material instead when that button is clicked and only show on that client
Can you explain better? Did you want to all the materials that are grass, turn into plastic for example?
Well, if it is that, i will make a script rq. and see if it works
actual terrain not parts i want it so it only changes the grass to something like leafy grass on the client side and not server
oh… this is a bit hard, well idk if there’s any way to control the grass, but just do some searching or something idk
Use voxels. I’m not sure exactly how, but you got to use them.
You should be able to do that …
https://create.roblox.com/docs/reference/engine/classes/Terrain#FillBlock
thanks here is my final script for anyone who wants to know how to make this
local terrain = workspace.Terrain
local minCoord = Vector3.new(-500, -500, -500)
local maxCoord = Vector3.new(500, 500, 500)
local region = Region3.new(minCoord, maxCoord)
script.Parent.Activated:Connect(function()
terrain:ReplaceMaterial(region, 4, Enum.Material.Grass, Enum.Material.LeafyGrass)
end)