Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Material: document disabling depth test disables depth write caveat. (#…
…27000) When setting the `depthTest` flag of a material to false, this will also implicitly disable the depth write, because `glDisable(GL_DEPTH_TEST)` is called internally. See: https://www.khronos.org/opengl/wiki/Depth_Test > When depth testing is disabled, writes to the depth buffer are also disabled. While the behavior makes sense I think (`depthFunc` can be used to achieve the desired behavior), it caught me off guard, so I thought it would make sense to document it.
- Loading branch information