shadowmapping #2

Merged
Anri merged 8 commits from shadowmapping into main 2023-05-27 04:22:33 +02:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 32a82adc96 - Show all commits

View file

@ -159,6 +159,9 @@ static void draw(void) {
deplacement += (float)(0.4 * M_PI * dt);
glUseProgram(0);
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
}
static void deinit(void) {

View file

@ -104,6 +104,7 @@ static void draw(void) {
glUseProgram(0);
glBindTexture(GL_TEXTURE_2D, 0);
glDisable(GL_DEPTH_TEST);
}
static void deinit(void) {