-
Notifications
You must be signed in to change notification settings - Fork 26
Data driven shaders
Since 1.7.2, Minecraft includes a full system to load and use post process shaders. They were at first accessible from a Super Secret Settings
button, which has since been removed. Currently, they are used when spectating creepers, endermen, or spiders, as well as to render glowing entities' outline.
A post process shader is defined by a JSON file, generally found in assets/{domain}/shaders/post/
. This JSON file describes the intermediary framebuffers used by the shader effect, as well as the various passes the effect is made of. Each pass is then described in another JSON file found in assets/{domain}/shaders/program
. The domain is hardcoded to "minecraft" by default, but Satin changes it to allow any domain.
The specification of those two JSON formats can be found in the following pages: