Skip to content

Commit

Permalink
fix raymarch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed May 6, 2024
1 parent 40ed66c commit fe215d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions renderlib/graphics/gl/Image3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ Image3D::prepareTexture(Scene& s)
check_gl("Set texture min filter");
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
check_gl("Set texture mag filter");
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_REPEAT);
check_gl("Set texture wrap s");
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_REPEAT);
check_gl("Set texture wrap t");
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_REPEAT);
check_gl("Set texture wrap r");

GLenum internal_format = GL_RGBA8;
Expand Down

0 comments on commit fe215d0

Please sign in to comment.