Skip to content

bradleyq/mc_vanilla_shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better Environment Shaders for vanilla 1.19

Overview

Shader that adds as much as possible from OptiFine shaders to the vanilla transparency shader available in "Fabulous" graphics setting. Due to limited material, light, time, and shadow information, some advanced features are not possible. A good number, however, are. I have ported them here. Most samples in credits are heavily modified to fit with the vanilla pipeline. Supports all FOV and render distances.

Usage

See License.md for licensing. This pack requires Fabulous graphics on. For best experience, use FOV 70 with render distance 16!

Configuration

Some basic settings can be toggled by editing assets\minecraft\shaders\post\transparency.json in uniforms for preprocess0 pass and postprocess2 pass. The following can be changed:

FOVGuess      [30.0, 110.0] 70.0 Default FOV as a fallback
FogDistance   [0.1, 10.0]   3.0  Fog distance multiplier
BloomAmount   [0.0, 1.0]    0.25 Bloom amount to apply
AutoExposure  0.0 or 1.0    1.0  Auto exposure enable
ExposurePoint [1.0, 4.0]    2.0  Target value to expose to  
Vibrance      [0.0, 2.0]    1.0  Color vibrance / saturation

Features

  • Water Waves
  • SSAO
  • SSR
  • Revamped Skys: Approximate Atmosphereic Scattering (Overworld), Aurora (End)
  • Directional Light
  • Screen Space Shadows
  • Java Alpha-PBR support (Emissive, Subsurface, Waving)
  • Multiplicative Transparency
  • HDR Lighting
  • Auto Exposure
  • Bloom
  • Volumetric Clouds
  • Compatible with Optifine Fabulous & Dynamic Lights
  • Tonemapping

Comparisons

vanilla
shader v1
shader v2
shader v3

Credits