shadowmapping #2

Merged
Anri merged 8 commits from shadowmapping into main 2023-05-27 04:22:33 +02:00
Showing only changes of commit 52c5aa2d55 - Show all commits

View file

@ -158,7 +158,6 @@ static void draw(void) {
glUniform1i(glGetUniformLocation(_pId[0], "shadowmap"), 0); glUniform1i(glGetUniformLocation(_pId[0], "shadowmap"), 0);
deplacement += (float)(0.4 * M_PI * dt); deplacement += (float)(0.4 * M_PI * dt);
glBindTexture(GL_TEXTURE_2D, 0);
glUseProgram(0); glUseProgram(0);
glDisable(GL_DEPTH_TEST); glDisable(GL_DEPTH_TEST);