Skip to content

Follow a Minecraft shader-writing tutorial, then explore further.

Notifications You must be signed in to change notification settings

lDEVinux/mc-shader-exploration

 
 

Repository files navigation

MC Shader Exploration

This repository holds some shaderpacks we made for for Minecraft. We followed this tutorial to learn how to write shaders, and then used what we learned to write more complicated shaders.

There are additional README files in each shader's folder with more details on their implementation.

Links

  • Based on this tutorial.
  • Using Minecraft Java Edition (no need to install this, though).
  • Using the third party Minecraft launcher, MultiMC.
    • This is used because Windows broke Minecraft such that it can't run if your Windows Microsoft account doesn't match your Minecraft Microsoft account.
  • Using the Optifine mod for Minecraft (which adds shader support and extra graphical settings/options).

Development

Installations & Setup

Downloads

Download the following installers and files.

  1. Download and install MultiMC.
  2. Download and install Java 17.
  3. Download Optine for version 1.19.2.

Install Steps

Follow these steps to install and setup Minecraft, MultiMC, and Optifine, to support shaders.

  1. In the MultiMC Settings, under the Java tab:
    1. Set the Minimum memory allocation to 512 MiB and the Maximum memory allocation to 4096 MiB, to give Minecraft more RAM since shaders require more processing power than default Minecraft.
    2. Under the Java Runtime section, click Auto-Detect and select the Java 17 version.
  2. In MultiMC, click Add Instance to create a Minecraft instance for version 1.19.2.
  3. In MultiMC, click on the 1.19.2 instance and go to Edit Instance:
    1. In the Version tab, click Install Forge and hit OK.
    2. In the Loader Mods tab, click Add and select the Optifine .jar file downloaded earlier.

Usage

Using Shaders

Launch the modified Minecraft 1.1.92 instance through MultiMC, after following the installation steps above.

Create or open up a world and hit ESCAPE and go to Options > Video Settings... > Shaders.... Select the shader you'd like to play around with. I recommend switching the world from Survival Mode to Creative Mode, so you can explore the shaders without worying about dying.

There will be READMEs inside each shader folder, explaining in further detail what the shader does.

Adding Shaders to Minecraft

Shaders are added as folders or .zip files by clicking on the 1.19.2 instance in MultiMC and goint to Edit Instance > Shader Packs > Add and selecting one of the shaders from this repository.

Feel free to download BSL Shaders if you'd like an example of a fully developed shader that's used by the community.

When making changes to a shader, you'll need to switch the selected shader in Minecraft to OFF and back, to tell Minecraft to reload the shader.

About

Follow a Minecraft shader-writing tutorial, then explore further.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GLSL 100.0%