<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sdf on Feynman 的博客</title><link>/tags/sdf/</link><description>Recent content in Sdf on Feynman 的博客</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 25 Aug 2026 12:00:00 +0800</lastBuildDate><atom:link href="/tags/sdf/index.xml" rel="self" type="application/rss+xml"/><item><title>11｜GLSL 数学函数</title><link>/posts/threejs-glsl-math/</link><pubDate>Tue, 25 Aug 2026 12:00:00 +0800</pubDate><guid>/posts/threejs-glsl-math/</guid><description>&lt;blockquote class="blockquote-regular"&gt;
 &lt;p&gt;上节课掌握了 GLSL 基础语法和 ShaderMaterial 的数据通道。本节课深入数学函数——mix / step / smoothstep 控制渐变与边界，sin / cos 制造波浪，dot / cross 做光照和 Fresnel，fract / mod 生成重复图案。这些函数是从&amp;quot;一张 UV 坐标&amp;quot;到&amp;quot;一幅画面&amp;quot;的核心工具链。&lt;/p&gt;</description></item></channel></rss>