Skip to content

Commit cc5066c

Browse files
committed
fix(renderer): remove depth mask setting for weapon rendering
1 parent 9e30a6c commit cc5066c

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
@@ -287,7 +287,6 @@ namespace our {
287287
// render weapon at the end with depth testing cleared
288288
glClear(GL_DEPTH_BUFFER_BIT);
289289
for (const RenderCommand& command : weaponCommands) {
290-
command.material->pipelineState.depthMask = false;
291290
command.material->setup();
292291
glm::mat4 MVP = VP * command.localToWorld;
293292
command.material->shader->set("transform", MVP);

0 commit comments

Comments
 (0)