LWJGL Forum

Programming => OpenGL => Topic started by: mudlee on May 11, 2017, 12:56:38

Title: Sharing codes between shaders
Post by: mudlee on May 11, 2017, 12:56:38
hi.

Is there any solution to share code between shaders? For eg. I have a struct in shader1, and want to use in shader2.
In Google I didn't find any good answer written after 2014, so I hope there is something new feature I can use :)