Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

VisualShaderNodeRandomRange

Inherits: VisualShaderNode < Resource < RefCounted < Object

A visual shader node that generates a pseudo-random scalar.

Description

Random range node will output a pseudo-random scalar value in the specified range, based on the seed. The value is always the same for the given seed and range, so you should provide a changing input, e.g. by using time.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.