---
title: "Discussion on \"3.7 - Fragment Discard and Transparency\" | Hashnode"
description: "Discussion on \"3.7 - Fragment Discard and Transparency\". Learn to use discard for transparency in Bevy WGSL shaders. This guide covers alpha testing vs. blending, performance, and building a dissolve effect."
url: "https://hashnode.com/posts/37-fragment-discard-and-transparency/6980574b3f3c7dc11261d1dc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [3.7 - Fragment Discard and Transparency](https://blog.hexbee.net/37-fragment-discard-and-transparency?utm_source=hashnode&utm_medium=feed)

Learn to use discard for transparency in Bevy WGSL shaders. This guide covers alpha testing vs. blending, performance, and building a dissolve effect.

Feb 2 · 20 min read · blog.hexbee.net  
Updated Feb 9  
Read the article

-   [#webgpu](https://hashnode.com/tag/webgpu)
-   [#wgsl](https://hashnode.com/tag/wgsl)
-   [#bevy](https://hashnode.com/tag/bevy)
-   [#shader](https://hashnode.com/tag/shader)
-   [#rust](https://hashnode.com/tag/rust)

## Written by

[Xavier Basty Kjellberg](https://hashnode.com/@Hexbee)

@Hexbee · Biarritz, France

  
[View profile](https://hashnode.com/@Hexbee)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
