First, we set the uniform block of the vertex shaders equal to binding point 0 . Note that we have to do this for each shader: unsigned int uniformBlockIndexRed ...
確定! 回上一頁