Skip to content

bradleyq/mc_vanilla_shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shaders for vanilla 1.20 (1.20.4)

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

Known issues

  • shadow jank
  • Alpha-PBR specular, metalness
  • some translucents visible over fog (slime entities)
  • particle and translucent checker when overlapped with solid translucent
  • glow item frame items are lit as if outdoors (unfixable atm)
  • hand item shading is flat
  • lighting changing in caves!!???
  • sun reflection in glass artifacts
  • black outline under some translucents over sky
  • picking up player heads animation not lit correctly
  • picking up tools animation not lit correctly
  • all picked up items are green when picking up xp at the same time
  • visible YUV artifacts in nether in some cases

Credits

About

MC vanilla fabulous shaders

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages