NouveauCraftRank SitesSite web et boutique gratuitsCrée la tienne ›
AshlarLogiciel serveur gratuit basé sur Paper, avec protection DDoS et anti-backdoor Voir Ashlar ›CommunautéPose des questions, partage tes constructions et trouve des joueurs Rejoindre le forum ›
Ressources / Shaders / Image Shader

Image Shader

Only use a shader to display an image on your screen~

ShadersGratuit1.16 – 1.21
par lanzhan5656 · repris depuis Modrinth
Télécharger ›

Téléchargement direct depuis Modrinth · 6,577 téléchargements

Image Shader, capture 1Image Shader, capture 2Image Shader, capture 3

Ce qu'il fait

Image Shader (pack de shaders) est une création de lanzhan5656. Only use a shader to display an image on your screen~.

Versions prises en charge : Minecraft 1.16 – 1.21. On compte 6,577 téléchargements sur Modrinth. La dernière mise à jour date du 12/09/2025.

Versions prises en charge

1.211.201.191.181.171.16

Historique des versions

La plus récente est 1.0.0, sortie le 12/09/2025. Elle est faite pour Minecraft 1.16 – 1.21.8. Elle fonctionne sur Iris. Le téléchargement fait 4.8 MB.

VersionPubliéMinecraftType
1.0.012/09/20251.16 – 1.21.8Stable

Dernière version sur GitHub

Image Shader est open source. Sa dernière version sur GitHub est 1.0.0~, publiée le 12/09/2025.

No content.

Description de l'auteur sur Modrinth

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~

A Python Script

from PIL import Image
import os

def generate_glsl_chunks(image_path, output_dir="image_chunks"):
try:
img = Image.open(image_path).convert('RGBA')
except FileNotFoundError:
print(f"Error: Image file not found at {image_path}")
return

width, height = img.size
if width != 160 or height != 160:
print(f"Error: Image must be 160x160 pixels, but it is {width}x{height}.")
print(f"You can use:")
print(f"ffmpeg -i image.png -vf scale=160:160 output.png")
print(f"to adjust the image resolution.")
return

os.makedirs(output_dir, exist_ok=True)
chunk_size = 40
num_chunks_x = width // chunk_size
num_chunks_y = height // chunk_size

for chunk_y in range(num_chunks_y):
for chunk_x in range(num_chunks_x):
left = chunk_x * chunk_size
upper = chunk_y * chunk_size
right = left + chunk_size
lower = upper + chunk_size
sub_img = img.crop((left, upper, right, lower))
pixel_data = list(sub_img.getdata())

array_name = f"image_data_{chunk_y}_{chunk_x}"
output_file_path = os.path.join(output_dir, f"{array_name}.glsl")

glsl_array = f"vec4 {array_name}[{chunk_size * chunk_size}] = vec4[{chunk_size * chunk_size}](\n"

for i, pixel in enumerate(pixel_data):
r, g, b, a = pixel
glsl_array += f" vec4({r/255.0}, {g/255.0}, {b/255.0}, {a/255.0})"
if i < len(pixel_data) - 1:
glsl_array += ","
if (i + 1) % 4 == 0:
glsl_array += "\n"

glsl_array += ");\n"

with open(output_file_path, 'w') as f:
f.write(glsl_array)

print(f"Generated file: {output_file_path}")

--- Config ---

image_file = "image.png"
output_directory = "image_chunks"

generate_glsl_chunks(image_file, output_directory)

Écrite par lanzhan5656. À lire avec les images sur Modrinth.

Comment installer Image Shader

  1. Installe Iris (avec Sodium) ou OptiFine pour ta version de Minecraft : les shaders ont besoin de l'un des deux.

  2. Télécharge le fichier .zip depuis Modrinth. Ne le décompresse pas.

  3. Dans Minecraft, ouvre Options, puis Paramètres vidéo, puis Shaders, et clique sur Ouvrir le dossier des shaders.

  4. Dépose le fichier .zip dans ce dossier, choisis Image Shader dans la liste et clique sur Terminé.

  5. Les shaders sollicitent beaucoup la carte graphique. Si le jeu ralentit, choisis un profil plus bas dans leurs réglages.

Compatibilité

Versions de Minecraft
1.21, 1.20, 1.19, 1.18, 1.17, 1.16
Édition
Java
Nécessite
Rien d'autre
Licence
GPL
Prix
Gratuit
Suivi
Mis à jour activement (11/11/2026)

Image Shader comparé à des ressources similaires Comparer toutes les alternatives

RessourceTéléchargementsVersionsMise à jourPrix
Image Shadercelle que tu regardais6,5771.16 – 1.2112 sept. 2025Gratuit
Screen Mirror Shaderplaysi_14K1.16 – 1.2129 juin 2025Gratuit
Daybreak Shaderagentclone8180K1.20 – 1.2127 juin 2024Gratuit
VTXS Screen Space Demolipesto79K1.18 – 26.x2 mai 2026Gratuit

Questions

Est-ce que Image Shader fonctionne sur Minecraft 26.x ?

Pas encore. La version la plus récente prise en charge est Minecraft 1.21.

Est-ce que Image Shader est gratuit ?

Oui. Image Shader se télécharge gratuitement sur Modrinth.

Image Shader est-il encore mis à jour ?

Oui. La dernière mise à jour date des dernières 24 heures.

Quelles sont les meilleures alternatives à Image Shader ?

Les plus proches sont Screen Mirror Shader, Daybreak Shader et VTXS Screen Space Demo. Comparer toutes les alternatives

Alternatives à Image Shader

Comparer toutes les alternatives ›

Avis

–★★★★★
0 avis
50
40
30
20
10

Connecte-toi pour laisser un avis.