Shaders/Before 1.9

Shaders are a feature used for various effects in Spectator Mode when the player takes the viewpoint of a mob. Shaders can be disabled by switching the perspective to third-person view. Shaders do not work on computers that do not support OpenGL 2.1, as GLSL (OpenGL Shading Language) was introduced in OpenGL 2.
Currently, shaders are stored in the assets/minecraft/shaders/ directory of minecraft.jar. The file path of the currently-active shader is displayed on the debug screen.
Note that the differences between certain shaders can be subtle, and therefore, to notice the differences, it might be necessary to observe a picture with higher resolution by clicking on one of the pictures below.
== Shaders ==
Name 	Description 	Sample Images
Default (Blit) 	This does not utilize shaders. Use as a baseline for comparing to the screenshots below. 	
Notch 	Uses 8-bit color with half the resolution, with a dithering effect.
This is a reference to how many of Notch's other games use a similar overlay. 	
FXAA 	This shader adds a small amount of anti-aliasing (smoothing jagged edges), most visible in trees along the horizon. 	
Art 	Pixels are blurred outward, causing moving objects to twinkle. 	
Bumpy 	Outlines color differences, and gives textures a 3D look. (More visible when viewing screenshot at full resolution.) 	
Blobs2 	Similar to Art, but less graphically intensive. 	
Pencil 	Meant to give the world a pencil-sketch appearance. 	
Color convolve 	Intensifies/adds more colors, adding vibrancy. 	
Deconverge 	Offsets the red, green, and blue color channels. 	
Flip 	Flips the player's view vertically. 	
Invert 	Inverts and slightly desaturates colors, obtainable with , then spectating from the viewpoint of an enderman. 	
NTSC 	Gives the player's view the impression of a CRT Monitor/Television Screen. 	
Outline 	Outlines color differences similarly to Bumpy, but less complex. Has no effect on some computers. 	
Phosphor 	Pixels on screen linger, being "dragged out" when in motion before fading away. 	
Scan pincushion	Similar to NTSC, but without the blurring and much less graphically intensive. 	
Sobel 	Turns the view black except for the edges of textures. 	
Bits 	Lowers the resolution and uses an 8-bit color scheme. 	
Desaturate 	Reduces intensity of colors drastically, causing, as the name suggests, a desaturated effect. 	
Green 	Scan Pincushion and Bits, but with a green overlay. 	
Blur 	Blurs the screen overall, independent of what is being displayed. 	
Wobble 	Colors cycle through the hue range constantly. All displayed pixels move up and down via a sine calculation. It should be noted that this affects only the screen plane and not the vertices being displayed by it, as observing the edge of the screen reveals the pixels being moved.	
Blobs 	Similar to Blobs2 and Art, but the spots are tiny when close up and big when far away. 	
Antialias 	Blurs the edges of pixels to reduce jaggedness. This is blurrier than FXAA, but is better at eliminating jagged edges in textures and blocks. 	
Creeper 	Similar to Green, but with no black borders or low resolution, obtainable with then Spectating from the viewpoint of a Creeper or Charged Creeper. 	
Spider 	8 "eyes" onscreen with blur in between, similar to a spider's face, obtainable with then Spectating from the viewpoint of a Spider, Cave Spider or Spider Jockey. 	
Love 	Adds a red tint to everything. Used in the Love and Hugs april fools snapshot. This shader is not available using the Super Secret Settings. 	
== Passes ==
Passes 	Used in 	Fragment Shader 	Vertex Shader
antialias.json 	Antialias 	antialias.fsh 	blobs.vsh
bits.json 	Bits, Creeper, Green 	bits.fsh 	sobel.vsh
blit.json 	Most shaders except Blur 	blit.fsh 	blit.vsh
blobs.json 	Blobs 	blobs.fsh 	blobs.vsh
blobs2.json 	Art, Blobs2 	blobs2.fsh 	blobs.vsh
blur.json 	Art, Blur, NTSC, Spider 	blur.fsh 	sobel.vsh
bumpy.json 	Bumpy 	bumpy.fsh 	bumpy.vsh
color_convolve.json 	Color convolve, Creeper,Desaturate, Green, NTSC	color_convolve.fsh 	sobel.vsh
deconverge.json 	Deconverge, NTSC 	deconverge.fsh 	sobel.vsh
downscale.json 	 	downscale.fsh 	downscale.vsh
entity_outline.json 	Glowing Status Effect 	entity_sobel.fsh 	sobel.vsh
flip.json 	Flip 	blit.fsh 	flip.vsh
fxaa.json 	FXAA 	fxaa.fsh 	fxaa.vsh
invert.json 	Invert 	invert.fsh 	blit.vsh
notch.json 	Notch 	notch.fsh 	sobel.vsh
ntsc_decode.json 	NTSC 	ntsc_decode.fsh 	sobel.vsh
ntsc_encode.json 	NTSC 	ntsc_encode.fsh 	sobel.vsh
outline.json 	Outline 	outline.fsh 	sobel.vsh
outline_combine.json 	Art 	outline_combine.fsh 	sobel.vsh
outline_soft.json 	Pencil 	outline_soft.fsh 	sobel.vsh
outline_watercolor.json	Art 	outline_watercolor.fsh	sobel.vsh
overlay.json 	 	overlay.fsh 	blit.vsh
phosphor.json 	NTSC, Phosphor 	phosphor.fsh 	sobel.vsh
scan_pincushion.json 	Green, NTSC, Scan pincushion 	scan_pincushion.fsh 	sobel.vsh
sobel.json 	Sobel 	sobel.fsh 	sobel.vsh
spider.json 	Spider 	spiderclip.fsh 	rotscale.vsh
wobble.json 	Wobble 	wobble.fsh 	sobel.vsh
love.json 	Love and Hugs update 	 	
== History ==
== Issues ==
== References ==
zh:着色器/Java版1.9前