Login  Register

Re: Sharing the same ubo among different shaders of the same program

Posted by elect on Apr 15, 2016; 9:57am
URL: https://forum.jogamp.org/Solved-Sharing-the-same-ubo-among-different-shaders-of-the-same-program-tp4036597p4036601.html

Found the error, I was declaring the std140 in one glsl to be included, it turned out only one of the shaders was actually including this file so basically the glsl compiler was looking at two differnt ubos because they had different layouts..