We need to use the attribute vector in vertex shader to accept the color data passed from C++ codes. And pass the color from vertex shader to fragment shader ...
確定! 回上一頁