mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +02:00
Didn't need to disable depth writes after all (for now).
This commit is contained in:
parent
3edb81baf4
commit
cf05cf6178
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ bool Model::render(float alpha) {
|
||||||
|
|
||||||
glDisable(GL_ALPHA_TEST);
|
glDisable(GL_ALPHA_TEST);
|
||||||
|
|
||||||
// render translucent meshes afterwards, with back face culling and no depth writes
|
// render translucent meshes afterwards, with back face culling
|
||||||
|
|
||||||
glEnable(GL_CULL_FACE);
|
glEnable(GL_CULL_FACE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue