Remove Black Color with Shaders
Key topics
The art of making black disappear is being explored through shaders, sparking a lively discussion on the most effective approaches. Some commenters, like Barathkanna, praise the shader trick for simplifying asset management, while others, such as Zekio, suggest using transparent colors instead of black, prompting mcherm to clarify that black is needed to cover underlying shapes. The conversation also veers into alternative methods, including SVG filters, as proposed by dleeftink, and creating meshes, as suggested by ImHereToVote, with some, like woolion, noting potential aliasing issues with the shader approach. As the debate unfolds, it becomes clear that the quest for a seamless, high-quality rendering solution is driving the conversation.
Snapshot generated from the HN discussion
Discussion Activity
Active discussionFirst comment
5d
Peak period
17
108-120h
Avg / period
6.3
Based on 19 loaded comments
Key moments
- 01Story posted
Dec 18, 2025 at 12:14 PM EST
15 days ago
Step 01 - 02First comment
Dec 23, 2025 at 12:28 AM EST
5d after posting
Step 02 - 03Peak activity
17 comments in 108-120h
Hottest window of the conversation
Step 03 - 04Latest activity
Dec 26, 2025 at 12:38 PM EST
7 days ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Also WebGL/WebGPU do exist already although I guess that’s easier to disable
It's a nice trick to play around, but that limits its usefulness.
vec2 uv = gl_FragCoord.xy / u_resolution.xy;