Hello Minecraft Shaders (HMS) is a simple tutorial (including .md and .pdf files) about how to programming shaders for Minecraft, based on Optifine mod environment
it was written when my junior years, which I most likely to named it 摆烂的大三. so it may has some problems including poor graphic performance, buggy rendering effect and hard-to-read code, what's more? I have no idea how it can compatible with Iris mod
Volume Cloud with Ray Marching (tracing on 1/4 resolution for speed) :
Atmosphere and fog simulate:
Screen Space Reflection (SSR) with ray marching and Fresnel Reflection:
PCF soft shadow mapping:
Bloom with Mipmap, down sample and gauss blur:
Caustics simulate with noise texture and sine & cosine wave:
- first u need install OptifineHD mod
- then copy the shader package file to game directory
.minecraft/shaderpacks
- select it in game meun:
vedio setting --> shades
从0开始编写minecraft光影包(0)GLSL,坐标系,光影包结构介绍
从零开始编写minecraft光影包(4)泛光性能与品质优化
从零开始编写minecraft光影包(5)简单光照系统,曝光调节,色调映射与饱和度
从零开始编写minecraft光影包(8)中级水面绘制 水下阴影与焦散
从零开始编写minecraft光影包(9)高级水面绘制 反射与屏幕空间反射
[1] 白玉楼之梦 - szszss' blog, "如何编写Shadersmod光影包"
[2] sp614x (Github), "optifine document"
[3] iq (shadertoy), "raymarching clouds with fbm"