You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/posts/forbidden.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ date = "2025-08-13"
5
5
tags=["GPU","math","shaders", "GLSL"]
6
6
+++
7
7
8
-
## <spanstyle="color:orange;">Why Shaders Turn Black: A Practical Guide to pow() and sqrt()</span>
8
+
## <spanstyle="color:orange;">Why Shaders Turn Black: negatives in pow() and sqrt()</span>
9
9
10
10
Black pixels appearing in a shader often trace back to a mathematical domain error. The most common sources are the `sqrt()` and `pow()` functions when they receive invalid inputs.
0 commit comments