Shader for/while loop?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Khairul
:warning: Old Version Published before Godot 3 was released.

How to use for/while looping on the shader language?

It seems loops and functions aren’t supported yet in the shader language (they aren’t event highlighted). It is planned that shaders will be greatly improved in 3.0.
I look forward to more info on this too :slight_smile:

Zylann | 2016-04-30 02:21