Godot Version
4.3
Question
this game world time
const MINUTES_PER_DAY = 1440
const MINUTES_PER_HOUR = 60
#### 1 minute in game == 0.00436332312999 in rl ,example 5minute = 0.02181661564995
const INGAME_TO_REAL_MINUTE_DURATION = (2 * PI) / MINUTES_PER_DAY
func _process(_delta: float) -> void:
time += _delta * INGAME_TO_REAL_MINUTE_DURATION * INGAME_SPEED
i want to change my gradient offset using from 0 to 1 in 5 minute( in game time ) using gradient.sample( offset value
how should i do it?