使能光計算glEnable(GL_LIGHTING); 光設置// Bright white light - full ... 1.0f, 1.0f }; // Enable lighting glEnable(GL_LIGHTING); // Set light ...
確定! 回上一頁