# phong-shader **Repository Path**: ccsdu2004/phong-shader ## Basic Information - **Project Name**: phong-shader - **Description**: 使用opengl shader 显示 模型和phong light - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-30 - **Last Updated**: 2021-10-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.modify mesa opengl version export MESA_GL_VERSION_OVERRIDE=4.3 export MESA_GLSL_VERSION_OVERRIDE=430 2.sudo apt-get install libassimp-dev for install assimp 3.type g++ main.cpp GLSLProgram.cpp Model.cpp Mesh.cpp Texture.cpp gl3w.c -ldl -lGL -lglut -lassimp for compile and link 4.type ./a.out for running