Shader:getWarnings
Returns any warning and error messages from compiling the shader code. This can be used for debugging your shaders if there's anything the graphics hardware doesn't like.
warnings = Shader:getWarnings()
warnings string Warning and error messages (if any).