中EN

GodotShaders 抽样索引(8–15)

Markdown2 KB 原始文件

抓取日: 2026-10-16 原则: URL + 类型 + 技术要点;不整份粘贴长源码。

  1. Pixelated Dissolve with Block Size — canvas_item — https://godotshaders.com/shader/pixelated-dissolve-with-block-size/ — floor UV 到 texel/block,random+step 溶解,适合像素风。
  2. Pixel perfect dissolving — canvas_item — https://godotshaders.com/shader/pixel-perfect-dissolving/ — textureSize 吸附 UV;注意 AnimatedSprite 上每帧重随机问题。
  3. Efficient 2D Pixel Outlines — canvas_item — https://godotshaders.com/shader/efficient-2d-pixel-outlines/ — 邻域 alpha 描边,少分支;厚度与 4/8 向。
  4. Wind with pixel snapping — canvas_item — https://godotshaders.com/shader/wind-with-pixel-snapping/ — 按像素吸附的风摆 UV 偏移;worldPos 同步相位。
  5. 3D Pixel art outline & highlight — spatial/后处理 — https://godotshaders.com/shader/3d-pixel-art-outline-highlight-post-processing-shader/ — 深度/法线差分描边与高光。
  6. Holographic / X-ray(首页热门类) — spatial — 站点首页轮播常见全息;查标签 holographic。
  7. Tree sway / wind(3D) — spatial — 首页常见 3D Tree Sway;顶点风场。
  8. 2D water / distortion — canvas_item — 噪声扰动 UV;与 GDQuest 门户噪声课同族。
  9. Dissolve edge color — canvas_item — 溶解边发光;progress uniform。
  10. Gaussian blur / post — 屏幕纹理 — 后处理采样;注意渲染器限制。
  11. Shatter / break — canvas_item/spatial — 碎片或噪声阈值。
  12. CRT / pixel screen — canvas_item — 扫描线与像素网格。
  13. Fire / VFX — canvas_item — 噪声+渐变色。
  14. Outline glow — canvas_item — 外发光变体。
  15. Sky stylized — sky — 程序天空;链官方 sky shader 文档。

完整代码以站点为准;移植时核对 Godot 4 uniform/纹理提示语法。

引用这一章的笔记

输入关键词开始搜索

滚轮或双指缩放 · 拖动平移 · 双击放大 / 还原