Cosine different between Blueprints and Materials?

I’m trying to create a buoyancy system, but I’m running into an issue trying to replicate my material Gerstner Wave setup in Blueprints. Namely, cosine returns different things whether it’s in a material graph or in blueprints. Below are some screenshots where I’ve replicated the issue, and the two different results (I paused the game a few second in). I’ve tried both cos and cosd, neother return identical (or even similar) results. This is on a 4.24 project.

Any ideas on how to fix this?

Oop, solved: cosines in materials have a default period of 1 instead of 2pi