keijiro/unity-dither4444
关于
用于在 Unity 中生成高质量 16 位色纹理的 AssetPostProcessor。
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文unity-dither4444
This example shows how to make a high-quality 16-bit color texture in Unity.
Abstract
Unity supports 16-bit color as a texture color format, however it introduces significant color banding.




(Left: original image, Right: 16-bit converted image)
It’s mainly because of lack of dither -- Unity simply quantizes the image to 16-bit without any fancy algorithms. It can be improved by dithering the image before quantization. This example does it in the AssetPostProcessor script.




(Left: original image, Right: 16-bit image with dithering)
Usage
Add “Dither” to the end of the filename, or import an image with the “Dither” suffix. The AssetPostProcessor script automatically detects and convert it. You can change the behavior by modifying the script. See the script for further details.
License
The script files in this repository are in the public domain. You can copy and paste it without permission or attribution.
探索相关项目
加载中…