Skip to content

Commit fedd6a4

Browse files
committed
fix(renderer): remove depth mask setting for weapon rendering
1 parent 5d1fae0 commit fedd6a4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/common/systems/forward-renderer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ namespace our {
288288
// render weapon at the end with depth testing cleared
289289
glClear(GL_DEPTH_BUFFER_BIT);
290290
for (const RenderCommand& command : weaponCommands) {
291-
command.material->pipelineState.depthMask = false;
292291
command.material->setup();
293292
glm::mat4 MVP = VP * command.localToWorld;
294293
command.material->shader->set("transform", MVP);

0 commit comments

Comments
 (0)