change light to directional and remove unused shaders
This commit is contained in:
parent
a4694c930b
commit
91ebcef017
@ -15,7 +15,6 @@
|
||||
|
||||
GLuint skyboxProgram, skyboxBuffer;
|
||||
GLuint bubbleProgram;
|
||||
GLuint programColor;
|
||||
GLuint programTexture;
|
||||
|
||||
GLuint textureSubmarine;
|
||||
@ -495,7 +494,6 @@ void initCube()
|
||||
void init()
|
||||
{
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
programColor = shaderLoader.CreateProgram((char*)"shaders/shader_color.vert", (char*)"shaders/shader_color.frag");
|
||||
programTexture = shaderLoader.CreateProgram((char*)"shaders/shader_tex.vert", (char*)"shaders/shader_tex.frag");
|
||||
skyboxProgram = shaderLoader.CreateProgram((char*)"shaders/skybox.vert", (char*)"shaders/skybox.frag");
|
||||
bubbleProgram = shaderLoader.CreateProgram((char*)"shaders/bubble.vert", (char*)"shaders/bubble.frag");
|
||||
@ -520,7 +518,6 @@ void init()
|
||||
|
||||
void shutdown()
|
||||
{
|
||||
shaderLoader.DeleteProgram(programColor);
|
||||
shaderLoader.DeleteProgram(programTexture);
|
||||
shaderLoader.DeleteProgram(skyboxProgram);
|
||||
shaderLoader.DeleteProgram(bubbleProgram);
|
||||
|
Loading…
Reference in New Issue
Block a user