Why is there no "out" keyword?

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

It seems that the shading language has no out keyword such as the one found in GLSL. Is there are reason for this? Why are you restricted to VAR1 and VAR2 for custom data?

Because it was never implemented before, I believe. Could be worth asking if the 3.0 upgrade will include this feature.

Edit: Problem solved? https://twitter.com/reduzio/status/784929104193810433

Zylann | 2016-10-08 20:34

More in the devlog (about the hows, whys, wheres) https://godotengine.org/article/making-shaders-more-accessible

eons | 2016-10-10 23:46