type
status
date
slug
summary
tags
category
icon
password
Blender的像素着色器:让一切像素化

在本篇文章中,我们将看看如何使用Blender的像素着色器让一切像素化。
什么是着色器shader?
在我们深入探讨方法之前,让我们先了解一下什么是着色器,着色器是在GPU上运行的一个程序,用于操纵3D对象的外观。 着色器可以用于创建各种效果,包括反射、阴影和纹理。即blender里的连连看。
如何实现像素化
首先,你的版本最好是目前最新blender3.5
在右上角视图着色方式里修改合成器compositor为always,让我们随时能看到像素化画面

接下来是连连看时间
我们新上拉一个窗口方便编辑,并且选择合成器窗口(Shift F3)

- 勾选use Nodes启用节点,Shift+A新增各种节点
- 拿来把你!(此处附上中英对照


我们通过调整RGB的明暗数值,调整像素化的程度。
至此像素化完成,是不是很简单呢?

总结
不管是lowpoly的简单模型,还是精细的模型,都能通过shader做到实时预览像素化
适用于3d项目,甚至能渲染为2d项目资产,可用性很高。
演示模型来源:
小汽车模型:
- 作者:AKALI
- 链接:https://akali.zeabur.app//article/blenderpixel
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。