<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>参数治理 on PlumePHP</title><link>https://plumephp.com/tags/%E5%8F%82%E6%95%B0%E6%B2%BB%E7%90%86/</link><description>Recent content in 参数治理 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 09 Jun 2026 08:58:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E5%8F%82%E6%95%B0%E6%B2%BB%E7%90%86/index.xml" rel="self" type="application/rss+xml"/><item><title>Godot Shader 参数治理：材质变体、运行时效果与美术协作</title><link>https://plumephp.com/godot-shader-parameter-governance-2026/</link><pubDate>Tue, 09 Jun 2026 08:58:00 +0800</pubDate><guid>https://plumephp.com/godot-shader-parameter-governance-2026/</guid><description>&lt;h2 id="背景shader-参数治理为什么值得单独设计"&gt;背景：Shader 参数治理为什么值得单独设计&lt;/h2&gt;
&lt;p&gt;游戏客户端里，Shader 效果常常从一个小需求开始：受击闪白、稀有道具描边、角色隐身、技能溶解、冰冻变色。每个效果单独看都不复杂，但项目做久了，材质参数会失控。有人在脚本里直接 &lt;code&gt;set_shader_parameter(&amp;quot;flash&amp;quot;, 1.0)&lt;/code&gt;，有人复制一份材质改颜色，有人把临时参数留在资源里，最后同一个角色在不同页面表现不一致。美术觉得程序把材质改坏了，程序觉得材质资源太多不知道用哪份。Shader 参数需要治理，不然运行时效果会变成隐形债务。&lt;/p&gt;</description></item></channel></rss>