A Minecraft shaderpack compatible with Iris and OptiFine. Based on Mellow Shader v3.3 by TheCMK, with modifications by Frntts: god rays enabled, lens flare added, and rebranding to Monroe Shader.
Status: v1.0 (god rays active, new lens flare implementation).
- God Rays: Volumetric light shafts rendered via screen-space marching over depth, applied to both sun and moon. Controlled through the
#define GODRAYSdirective. - Lens Flare: New screen-space lens flare system (
shaders/global/post/lens_flare.glsl), projected in the final pass before gamma correction. Includes sun/moon projection with depth-based occlusion (9 samples), halo, anamorphic streaks, and ghost artifacts. Warm tint during daytime, blue tint at night. Fades during rain and underwater. Configurable via Camera menu: Lens Flare / Lens Flare Strength (default 2.0). - Bloom: Multi-pass Gaussian bloom with configurable strength and curve. Disabled in FAST profile.
- Anti-Aliasing: SMAA (Subpixel Morphological Anti-Aliasing) and TAA (Temporal Anti-Aliasing) support, configurable per profile.
- Water Reflections: Screen-space reflections with variable step count and optional sun reflection.
- PBR Support: Normal mapping, specular mapping, and Parallax Occlusion Mapping (POM) for resource packs that support it.
- Shadows: Dynamic shadows with configurable resolution, distance, PCF filtering, and entity/block entity shadow toggles.
- SSAO: Screen-Space Ambient Occlusion with adjustable strength and scale.
- Depth of Field: Configurable aperture, blur quality, and focus distance with manual or auto-focus.
- Chromatic Aberration: Adjustable radial color separation effect.
- Volumetric Clouds: Multiple cloud styles (procedural and vanilla-based) with opacity, density, and speed controls.
- Seasons: Biome-based seasonal color adjustments for spring, summer, autumn, and winter.
- Fog System: Border fog, atmospheric fog, water fog, and underwater fog, each with independent strength controls.
- Post-Processing: Tonemap operators, color grading (exposure, saturation, contrast, vibrance), channel mixer, color balancing, film grain, vignette, motion blur, and image sharpening.
- Color Customization: Full RGB control over sky gradients, sun/moon colors, ambient lighting, water tint, and lightmap colors.
- Puddles: Rain-triggered puddle rendering with configurable coverage.
- Aurora Borealis: Northern lights effect with adjustable strength and height.
- Emissive Blocks: Enhanced emissive rendering for light sources and ores.
- Wavy Foliage: Wind-animated plants and leaves with configurable amplitude, speed, and rain interaction.
The shader includes three built-in profiles accessible from the shader options menu:
| Profile | Description |
|---|---|
| FAST | Minimal effects. Bloom, water normals, SMAA, reflections, god rays, SSAO, and lens flare are all disabled. Best for low-end hardware. |
| FANCY | Balanced quality. Enables bloom, volumetric clouds, water normals, god rays, lens flare, and reflections. No SSAO or SMAA. |
| FABULOUS | Maximum quality. Enables all effects including SSAO, SMAA, TAA, image sharpening, and low-quality depth buffer for deferred rendering. |
- Install Iris (recommended) or OptiFine for your Minecraft version.
- Download the latest release from
dist/Monroe-Shader-v1.0.zip. - Place the zip file in
.minecraft/shaderpacks/. - Select the shader from the in-game shaders menu.
shaders/
program/ Shared shader programs across all dimensions
world0/ Overworld dimension includes
world-1/ Nether dimension includes
world1/ End dimension includes
world_modded/ Modded dimension support
global/ Effect-specific modules (lighting, fog, post-processing, lens flare)
lib/ Utility functions, settings, and uniform definitions
lang/ Language files (English, Chinese, French)
dist/
Monroe-Shader-v1.0.zip Distributable package ready for shaderpacks folder
shaders/lib/settings.glsl-- All configurable shader options defined as#definedirectives.shaders/lib/all_the_uniforms.glsl-- Uniform declarations with camelCase naming to avoid conflicts.shaders/lib/util.glsl-- Common utility functions.shaders/global/post/lens_flare.glsl-- Lens flare implementation.shaders/shaders.properties-- OptiFine/Iris configuration for profile definitions, buffer setup, and menu layout.shaders/block.properties-- Block-specific behavior definitions (water, waving foliage, emissive blocks, emissive ores).
Each dimension folder (world0/, world-1/, world1/) contains files that include their counterpart in program/ and define a DIMENSION_* preprocessor directive. This allows conditional logic per dimension in shared shader code.
| Buffer | Usage |
|---|---|
| colortex0 | Main color buffer |
| colortex1 | Bloom |
| colortex2 | SMAA main |
| colortex3 | SMAA area texture / Blocky cloud texture |
| gaux1 | Reflections and TAA |
| colortex5 | Quarter-resolution half-precision depth (deferred) / SMAA search (composite) |
| colortex6 | Cloud noise texture (3D Worley-Perlin) |
Tested on the following hardware with the FANCY profile at high settings:
| Component | Model |
|---|---|
| CPU | AMD Ryzen 5 4600H |
| GPU | AMD Radeon RX 5600M |
| RAM | 16 GB |
Average FPS (FANCY profile, high settings): 180-300 FPS
Performance will vary based on render distance, resolution, resource pack, and other in-game settings.
LICENSE-- MIT License by TheCMK (intact), with modification notice by Frntts.LICENSE-APACHE-- Original Apache license included by the base author.
This shader is a derivative of Mellow Shader v3.3. The original license and copyright notice must be retained in any redistribution. Do not use the name "Mellow" or original assets (screenshots, logo) for derivative projects.
- TheCMK -- Original author of Mellow Shader v3.3.
- Frntts -- Modifications, god rays, lens flare, and rebranding to Monroe Shader.