Communication between fragment and light shader.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SIsilicon

To pass data between vertex and fragment would use varyings.
But how does it work between fragment and light shader.

Edit:
I already tried a varying, but It didn’t go so well.

Did you find an answer for this?

Ole | 2019-06-05 05:28