Image Shader
作者:rebot | 分类:光影包
Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8
平台: iris
标签: cursed fantasy screenshot
Image Shader
Only use a shader to display an image on your screen~
Note: compiling the shader may take some time!

How to prepare a custom image~
First, use ffmpeg (or any tool) to resize your image to 160×160 pixels.
Using ffmpeg:
ffmpeg -i Input.png -vf scale=160:160 image.png
Then place the resized image in the same directory as the Python script below.
Run the script to produce an image_chunks folder, then copy the 16 .glsl files inside into shaders/data/image_chunks (you need to unpack the shader pack first).
Enter the game, enable the custom image option in the shader settings, and wait for the shader to finish compiling — Then it's ok~
请登录后举报
暂无评论,抢个沙发吧~