Animated Water Variant!

Finished Making An Animated Material Variant Of Water.

14 Likes

can you make that replace actual terrain water material?

Pretty Sure, It just needs to have the swimming functionality coded in and It should be all set

oh but you cant replace the actual material for the water terrain?

Roblox doesn’t allow you to do that afaik

Looks cool but why are the waves triangles? (or is my eyes tricking me lol)

I have no clue, lol. The normals were from Roblox’s platform content textures.
C:\Users\<username>\AppData\Local\Roblox\Versions\<versionfolder>\PlatformContent\pc\textures\water

Did you have to reupload them?

from how you insert material’s properties with the material variants, I guess so.

Oh, you’re using material varients here?
I thought you were just using an animated texture…
So you’ve created a normal map for all 25 varients?

As I’m wondering if I could use yours to save uploading all these textures…

Sure!

rbxassetid://10325897063
rbxassetid://10325984784
rbxassetid://10325991041
rbxassetid://10325991643
rbxassetid://10325992225
rbxassetid://10325992963
rbxassetid://10325993903
rbxassetid://10325995012
rbxassetid://10325996198
rbxassetid://10325975180
rbxassetid://10325975787
rbxassetid://10325977358
rbxassetid://10325978467
rbxassetid://10325979418
rbxassetid://10325980413
rbxassetid://10325981206
rbxassetid://10325982022
rbxassetid://10325982868
rbxassetid://10325983987
rbxassetid://10325985610
rbxassetid://10325986106
rbxassetid://10325987091
rbxassetid://10325988165
rbxassetid://10325989161
rbxassetid://10325990097
1 Like

How did you animate the material varient? I keep getting lacking capability plugin error everytime I try.

-- Assuming these are your frame IDs
local frames = {
	"16170777604",
	"16170778817",
	-- Add other frame IDs here...
}

-- Get the MaterialVariant
local materialVariant = game.MaterialService.RobloxTerrain["Shimmer (Concrete)"] -- replace Workspace with the location of your MaterialVariant

-- Check if the MaterialVariant exists
if not materialVariant then
	error("MaterialVariant not found.")
end

-- Change the color map ID
for i, frameId in ipairs(frames) do
	wait(1) -- wait for 1 second between each change
	materialVariant.ColorMap = "rbxassetid://" .. frameId
end