<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Normals on Fragment Shack</title><link>https://fragmentshack.com/tags/normals/</link><description>Recent content in Normals on Fragment Shack</description><image><title>Fragment Shack</title><url>https://fragmentshack.com/images/og-image.png</url><link>https://fragmentshack.com/images/og-image.png</link></image><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Sun, 22 Nov 2026 12:20:00 +0000</lastBuildDate><atom:link href="https://fragmentshack.com/tags/normals/index.xml" rel="self" type="application/rss+xml"/><item><title>✖️ The Cross Product: Finding the Direction at Right Angles</title><link>https://fragmentshack.com/posts/cross-product/</link><pubDate>Sun, 22 Nov 2026 12:20:00 +0000</pubDate><guid>https://fragmentshack.com/posts/cross-product/</guid><description>Give the cross product two directions and it hands back a third, at right angles to both. It&amp;rsquo;s how graphics finds which way a triangle faces, which side of a line a point is on, and how cameras get their axes.</description></item><item><title>💎 Flat Shading with ddx and ddy: Normals from Nowhere</title><link>https://fragmentshack.com/posts/flat-shading-ddx-ddy/</link><pubDate>Sun, 22 Nov 2026 09:15:00 +0000</pubDate><guid>https://fragmentshack.com/posts/flat-shading-ddx-ddy/</guid><description>Build each triangle&amp;rsquo;s normal in the fragment shader from ddx and ddy of its position: a faceted, low-poly look with no extra mesh data. Plus more uses for derivatives.</description></item><item><title>💡 Basic Lighting: Ambient, Diffuse and Specular</title><link>https://fragmentshack.com/posts/basic-lighting/</link><pubDate>Thu, 19 Nov 2026 10:00:00 +0000</pubDate><guid>https://fragmentshack.com/posts/basic-lighting/</guid><description>How a shader fakes light with three simple terms: ambient, diffuse and specular. Learn Lambert&amp;rsquo;s cosine law, the Blinn-Phong highlight, and why lighting per pixel beats lighting per vertex.</description></item></channel></rss>